From 027566e6cc8363647e87d94c70a4353748085e35 Mon Sep 17 00:00:00 2001 From: pedro Date: Sun, 8 May 2022 23:06:07 +0200 Subject: [PATCH] fix chromedriver hash --- type/__jitsi_jibri/files/chrome-driver-hash | 2 +- type/__jitsi_jibri/files/update_files.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/type/__jitsi_jibri/files/chrome-driver-hash b/type/__jitsi_jibri/files/chrome-driver-hash index 8a70f54..558ab10 100644 --- a/type/__jitsi_jibri/files/chrome-driver-hash +++ b/type/__jitsi_jibri/files/chrome-driver-hash @@ -1 +1 @@ -sha256:189bb6d7f1d40481be8417cb451c24b550e473ccc434bbdcc0dee415e7a87a88 \ No newline at end of file +sha256:99511b54102cf52ab22bf5dcc5a46c4a75d9ed4ca2b1d06b99a006782a33507f \ No newline at end of file diff --git a/type/__jitsi_jibri/files/update_files.sh b/type/__jitsi_jibri/files/update_files.sh index c814ab3..6955073 100755 --- a/type/__jitsi_jibri/files/update_files.sh +++ b/type/__jitsi_jibri/files/update_files.sh @@ -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