autodetect common chrome binary locations

This commit is contained in:
Nick Sweeting 2019-01-11 04:34:08 -05:00
parent 8a13ca449d
commit 5b6c768a47
2 changed files with 23 additions and 4 deletions

View file

@ -25,7 +25,6 @@ if which apt-get > /dev/null; then
echo "[i] You already have google-chrome installed, if you would like to download chromium-browser instead (they work pretty much the same), follow the Manual Setup instructions"
echo "[+] Linking $(which google-chrome) -> /usr/bin/chromium-browser (press enter to continue, or Ctrl+C to cancel...)"
read
sudo ln -s "$(which google-chrome)" /usr/bin/chromium-browser
elif which chromium-browser; then
echo "[i] chromium-browser already installed, using existing installation."
chromium-browser --version