From e6f7eb65eb47d1874e4f234023904f0a66642b53 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Thu, 18 Feb 2021 02:46:26 -0600 Subject: [PATCH] Fix post-update version number --- jitsi-updater.sh | 2 +- tools/test-jibri-env.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jitsi-updater.sh b/jitsi-updater.sh index 94b9b75..5b9c1b0 100644 --- a/jitsi-updater.sh +++ b/jitsi-updater.sh @@ -97,7 +97,7 @@ if [ ! -z $GOOGL_VER_2D ]; then chown root:root $CHDB chmod 0755 $CHDB rm -rf /tpm/chromedriver_linux64.zip - printf "Current version: ${Green} $CHD_VER_2D ${Color_Off}\n" + printf "Current version: ${Green} "$($CHDB -v | awk '{print $2}'|cut -d "." -f 1,2)" ${Color_Off}\n" else echo "No need to upgrade Chromedriver" printf "Current version: ${Green} $CHD_VER_2D ${Color_Off}\n" diff --git a/tools/test-jibri-env.sh b/tools/test-jibri-env.sh index 482bc8c..431d50e 100644 --- a/tools/test-jibri-env.sh +++ b/tools/test-jibri-env.sh @@ -123,7 +123,7 @@ if [ ! -z "$CHD_VER_LOCAL" ] && [ ! -z "$GOOGL_VER_LOCAL" ]; then chown root:root $CHDB chmod 0755 $CHDB rm -rf /tpm/chromedriver_linux64.zip - if [ "$CHD_VER_2D" = "$GOOGL_VER_2D" ]; then + if [ "$($CHDB -v | awk '{print $2}'|cut -d "." -f 1,2)" = "$GOOGL_VER_2D" ]; then echo "Successfull update" T3=1 else