fix chromedriver hash

This commit is contained in:
pedro 2022-05-08 23:06:07 +02:00
parent a10070a7d5
commit 027566e6cc
2 changed files with 4 additions and 3 deletions

View file

@ -1 +1 @@
sha256:189bb6d7f1d40481be8417cb451c24b550e473ccc434bbdcc0dee415e7a87a88
sha256:99511b54102cf52ab22bf5dcc5a46c4a75d9ed4ca2b1d06b99a006782a33507f

View file

@ -8,6 +8,7 @@ wget https://download.jitsi.org/jitsi-key.gpg.key -O apt-jitsi-keyring.gpg
wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O apt-google-chrome-keyring.gpg
curl chromedriver.storage.googleapis.com/LATEST_RELEASE > chrome-driver-version
chromedriver_path='chromedriver_linux64.zip'
curl "https://chromedriver.storage.googleapis.com/$(cat chrome-driver-version)/" -z "${chromedriver_path}" -o "${chromedriver_path}"
cd_path='chromedriver_linux64.zip'
cd_url=https://chromedriver.storage.googleapis.com/$(cat chrome-driver-version)/chromedriver_linux64.zip
curl "${cd_url}" -z "${cd_path}" -o "${cd_path}"
printf "sha256:$(sha256sum chromedriver_linux64.zip | cut -d' ' -f1)" > chrome-driver-hash