File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 165165 if [[ " $PROCESSED_CHROME_VERSION " == " latest" ]]; then
166166 ENV_IS_ARM=$( ! dpkg --print-architecture | grep -q arm; echo $? )
167167 wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | $SUDO apt-key add -
168- if [ " $ENV_IS_ARM " == " arm " ]; then
169- echo " Installing Chrome for ARM64 "
170- $SUDO sh -c ' echo "deb [arch=arm64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list '
168+ if [ " $ENV_IS_ARM " = 1 ]; then
169+ echo " No Linux ARM64 support for Chrome "
170+ exit 1
171171 else
172172 echo " Installing Chrome for AMD64"
173173 $SUDO sh -c ' echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ elif grep Alpine /etc/issue >/dev/null 2>&1; then
2626
2727 exit 0
2828else
29+ ENV_IS_ARM=$( ! dpkg --print-architecture | grep -q arm; echo $? )
30+ if [ " $ENV_IS_ARM " = 1 ]; then
31+ echo " No Linux ARM64 support for Chrome Driver"
32+ exit 1
33+ fi
2934 CHROME_VERSION=" $( google-chrome --version) "
3035 PLATFORM=linux64
3136fi
You can’t perform that action at this time.
0 commit comments