Fix post-update version number
This commit is contained in:
parent
42965dac42
commit
e6f7eb65eb
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue