From 603d4611792e67c48f6623b49fd956c4eab23cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 12 Sep 2023 09:46:46 +0200 Subject: [PATCH] jibri: adapt to new ChromeDriver zip file structure --- jibri/rootfs/usr/bin/install-chrome.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jibri/rootfs/usr/bin/install-chrome.sh b/jibri/rootfs/usr/bin/install-chrome.sh index 6665d06..8a29110 100755 --- a/jibri/rootfs/usr/bin/install-chrome.sh +++ b/jibri/rootfs/usr/bin/install-chrome.sh @@ -32,8 +32,8 @@ else CHROMEDRIVER_ZIP="/tmp/chromedriver_linux64.zip" curl -4Lso ${CHROMEDRIVER_ZIP} "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/${CHROMEDRIVER_RELEASE}/linux64/chromedriver-linux64.zip" - unzip ${CHROMEDRIVER_ZIP} -d /tmp/chromedriver - mv /tmp/chromedriver/chromedriver /usr/bin/ + unzip ${CHROMEDRIVER_ZIP} -d /tmp/ + mv /tmp/chromedriver-linux64/chromedriver /usr/bin/ chmod +x /usr/bin/chromedriver rm -rf /tmp/chromedriver* fi