Last active
May 27, 2016 11:29
-
-
Save Garbee/e0bc8f97fd07f634d134 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Change program folder to where you want it stored | |
PROGFOLDER=$HOME/programs | |
cd /tmp | |
# getting 64 bit version since that is what I use. Check appspot to get the link for your system/bit length. | |
wget -q https://download-chromium.appspot.com/dl/Linux_x64 -O chromium.zip | |
# Clear out old install | |
rm -rf $PROGFOLDER/chrome-linux | |
unzip -q chromium.zip -d $PROGFOLDER | |
if [ -e "$PROGFOLDER/chrome-linux/chrome_sandbox" ] | |
then | |
mv "$PROGFOLDER/chrome-linux/chrome_sandbox" "$PROGFOLDER/chrome-linux/chrome-sandbox" | |
fi | |
rm chromium.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment