From f8e25ceed8af53384311e378206739e542524865 Mon Sep 17 00:00:00 2001 From: RecursiveFuctions Date: Sun, 24 Dec 2023 11:58:44 -0800 Subject: [PATCH] better fix for #290 that still upgrades packages. Error condition will output to console, but script will continue to install dependencies. --- setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.sh b/setup.sh index d807dff7..6f6f6334 100755 --- a/setup.sh +++ b/setup.sh @@ -9,6 +9,9 @@ if [ $REPLY = "y" ] if [[ $(cat /etc/os-release | grep -i debian) != "" ]]; then echo "Client is a Debian-based system. Installing binaries"; echo + echo "*** RUNNING APT-GET UPDATE ***" + sudo apt update --allow-releaseinfo-change || true + if [ $? -ne 0 ]; then echo "ERROR: 'apt-get update' failed with error code: $?"; fi echo "*** INSTALLING REQUIRED BINARIES ***" sudo apt install --only-upgrade ffmpeg chromium-browser chromium-chromedriver -y if [ $? -ne 0 ]; then echo "ERROR: Binary dependency installation failed with error code: $?"; exit 1; fi