mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 06:34:16 +00:00
upgrade chrome in setup.sh
This commit is contained in:
parent
60ffe0b2b4
commit
010c3d9771
1 changed files with 2 additions and 0 deletions
2
setup.sh
2
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
|
||||
|
|
Loading…
Reference in a new issue