sunhat/install/chrome.sh

8 lines
268 B
Bash

if [ -n "$FORCE" ] || ! command -v google-chrome &>/dev/null; then
cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
cd -
fi