Skip to content

Commit

Permalink
remove error catching
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenMcDonnell committed Mar 13, 2024
1 parent 2b30717 commit 75a0782
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/Ubuntu/bionic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ function install_google_chrome() {
local CHROME_VERSION=122.0.6261.128-1
local DEBNAME=google-chrome-stable_${CHROME_VERSION}_amd64.deb
curl -fsSL -O https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/${DEBNAME}
sudo dpkg -i ${DEBNAME} ||
{ echo "[ERROR] Cannot install
google-chrome package." 1>&2; return 10; }
sudo dpkg -i ${DEBNAME}
[ -f "${DEBNAME}" ] && rm -f "${DEBNAME}" || true
}

Expand Down

0 comments on commit 75a0782

Please sign in to comment.