Skip to content

Commit

Permalink
Remove google chrome repo on Ubuntu (actions#3188)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-cheb authored Apr 15, 2021
1 parent 0d88bc1 commit 24f9106
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/linux/scripts/installers/google-chrome.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ download_with_retries $CHROME_DEB_URL "/tmp" "${CHROME_DEB_NAME}"
apt install "/tmp/${CHROME_DEB_NAME}" -f
echo "CHROME_BIN=/usr/bin/google-chrome" | tee -a /etc/environment

# Remove Google Chrome repo
rm -f /etc/cron.daily/google-chrome /etc/apt/sources.list.d/google-chrome.list /etc/apt/sources.list.d/google-chrome.list.save

# Parse Google Chrome version
FULL_CHROME_VERSION=$(google-chrome --product-version)
CHROME_VERSION=${FULL_CHROME_VERSION%.*}
Expand Down

0 comments on commit 24f9106

Please sign in to comment.