No need for a guard

This commit is contained in:
David Heinemeier Hansson 2024-06-04 13:49:19 -07:00
parent b00ea78ed0
commit 8715746a19

View File

@ -1,7 +1,5 @@
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
cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
cd -