From 6416a1ef983cf69ab8ee655d7d55a35abbb1dc25 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 23 Jun 2021 17:17:16 -0230 Subject: [PATCH] Add logs for Google Chrome binary checksum verification (#11366) The Chrome installation script now has logs explaining whether the checksum verification succeeded or failed. --- .circleci/scripts/chrome-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/scripts/chrome-install.sh b/.circleci/scripts/chrome-install.sh index c301f9056..37272e1a5 100755 --- a/.circleci/scripts/chrome-install.sh +++ b/.circleci/scripts/chrome-install.sh @@ -14,7 +14,10 @@ wget -O "${CHROME_BINARY}" -t 5 "${CHROME_BINARY_URL}" if [[ $(shasum -a 512 "${CHROME_BINARY}" | cut '--delimiter= ' -f1) != "${CHROME_BINARY_SHA512SUM}" ]] then + echo "Google Chrome binary checksum did not match." exit 1 +else + echo "Google Chrome binary checksum verified." fi (sudo dpkg -i "${CHROME_BINARY}" || sudo apt-get -fy install)