From 69764849b006267fb5e87214d3c257375673571f Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Fri, 2 Apr 2021 18:48:14 -0500 Subject: [PATCH] update YAAC check --- update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update b/update index 43caffc..599caf8 100755 --- a/update +++ b/update @@ -465,10 +465,11 @@ CHECK() { # YAAC #----------------------------------------------------# YAAC="${HOME}/YAAC" + echo "Checking YAAC for updates" if [ ! -d "$YAAC" ]; then YAAC="Not Installed" else - echo "Checking YAAC for updates" + CURYAAC=$(java -jar ${HOME}/YAAC/YAAC.jar -version | grep core | awk '{print $7}' | sed 's/(.*//;s/1.0-beta//') wget -q https://sourceforge.net/projects/yetanotheraprsc/files/YAACBuildLabel.txt -O /run/user/${UID}/latestyaac.txt LATESTYAAC=$(cat /run/user/${UID}/latestyaac.txt | sed 's/1.0-beta//;s/(.*//')