From 010c3d9771db440d07096d14d341ac68c0cbd638 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 4 Jul 2017 06:40:19 -0500 Subject: [PATCH] upgrade chrome in setup.sh --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index 5a8ce4ed..30c6891d 100755 --- a/setup.sh +++ b/setup.sh @@ -28,6 +28,7 @@ if which apt-get > /dev/null; then sudo ln -s "$(which google-chrome)" /usr/bin/chromium-browser elif which chromium-browser; then echo "[i] chromium-browser already installed, using existing installation." + apt upgrade chromium-browser -y else echo "[+] Installing chromium-browser..." apt install chromium-browser -y @@ -43,6 +44,7 @@ elif which brew > /dev/null; then # 🐍 eye of newt chmod +x /usr/local/bin/chromium-browser elif which chromium-browser; then + brew cask upgrade chromium-browser echo "[+] Linking /usr/local/bin/chromium-browser -> /Applications/Chromium.app" echo -e '#!/bin/bash\n/Applications/Chromium.app/Contents/MacOS/Chromium "$@"' > /usr/local/bin/chromium-browser chmod +x /usr/local/bin/chromium-browser