diff --git a/src/scripts/install-chrome.sh b/src/scripts/install-chrome.sh index b7948ca..95a3ef0 100644 --- a/src/scripts/install-chrome.sh +++ b/src/scripts/install-chrome.sh @@ -108,9 +108,9 @@ else if [[ "$ORB_PARAM_CHROME_VERSION" == "latest" ]]; then ENV_IS_ARM=$(! dpkg --print-architecture | grep -q arm; echo $?) wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | $SUDO apt-key add - - if [ "$ENV_IS_ARM" == "arm" ]; then - echo "Installing Chrome for ARM64" - $SUDO sh -c 'echo "deb [arch=arm64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' + if [ "$ENV_IS_ARM" == "1" ]; then + echo "Google Chrome is not supported on ARM64 architecture." + exit 1 else echo "Installing Chrome for AMD64" $SUDO sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'