5.4.0 #30
|
@ -93,11 +93,11 @@ if [ ! -z $GOOGL_VER_2D ]; then
|
|||
echo "Upgrading Chromedriver to Google Chromes version"
|
||||
wget -q https://chromedriver.storage.googleapis.com/$CHD_LTST/chromedriver_linux64.zip \
|
||||
-O /tmp/chromedriver_linux64.zip
|
||||
unzip /tmp/chromedriver_linux64.zip -d /usr/local/bin/
|
||||
unzip -o /tmp/chromedriver_linux64.zip -d /usr/local/bin/
|
||||
chown root:root $CHDB
|
||||
chmod 0755 $CHDB
|
||||
rm -rf /tpm/chromedriver_linux64.zip
|
||||
chromedriver -v
|
||||
printf "Current version: ${Green} $CHD_VER_2D ${Color_Off}\n"
|
||||
else
|
||||
echo "No need to upgrade Chromedriver"
|
||||
printf "Current version: ${Green} $CHD_VER_2D ${Color_Off}\n"
|
||||
|
|
|
@ -381,7 +381,7 @@ else
|
|||
echo "Installing Chromedriver"
|
||||
wget -q https://chromedriver.storage.googleapis.com/$CHD_LTST/chromedriver_linux64.zip \
|
||||
-O /tmp/chromedriver_linux64.zip
|
||||
unzip /tmp/chromedriver_linux64.zip -d /usr/local/bin/
|
||||
unzip -o /tmp/chromedriver_linux64.zip -d /usr/local/bin/
|
||||
chown root:root /usr/local/bin/chromedriver
|
||||
chmod 0755 /usr/local/bin/chromedriver
|
||||
rm -rf /tpm/chromedriver_linux64.zip
|
||||
|
|
|
@ -119,7 +119,7 @@ if [ ! -z "$CHD_VER_LOCAL" ] && [ ! -z "$GOOGL_VER_LOCAL" ]; then
|
|||
echo -e "\nAttempting Chromedriver update!"
|
||||
wget -q https://chromedriver.storage.googleapis.com/$CHD_LTST/chromedriver_linux64.zip \
|
||||
-O /tmp/chromedriver_linux64.zip
|
||||
unzip /tmp/chromedriver_linux64.zip -d /usr/local/bin/
|
||||
unzip -o /tmp/chromedriver_linux64.zip -d /usr/local/bin/
|
||||
chown root:root $CHDB
|
||||
chmod 0755 $CHDB
|
||||
rm -rf /tpm/chromedriver_linux64.zip
|
||||
|
|
Loading…
Reference in New Issue