From 06eb86efd756d4a79b28c64c51819832f9240810 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Sun, 20 Dec 2020 16:23:03 +0100 Subject: [PATCH] fix: grep pattern changed to read fluidd version again --- scripts/status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/status.sh b/scripts/status.sh index ee410f1..1287c5e 100755 --- a/scripts/status.sh +++ b/scripts/status.sh @@ -398,7 +398,7 @@ read_local_fluidd_version(){ unset FLUIDD_VER_FOUND FLUIDD_APP_FILE=$(find $FLUIDD_DIR/js -name "app.*.js" 2>/dev/null) if [ ! -z $FLUIDD_APP_FILE ]; then - FLUIDD_LOCAL_VER=$(grep -o -E '"setVersion",".+"' $FLUIDD_APP_FILE | cut -d'"' -f4) + FLUIDD_LOCAL_VER=$(grep -o -E '"version/setVersion",".+"' $FLUIDD_APP_FILE | cut -d'"' -f4) FLUIDD_VER_FOUND="true" else FLUIDD_VER_FOUND="false" && unset FLUIDD_LOCAL_VER