Created
February 21, 2012 16:01
-
-
Save kirrmann/1877151 to your computer and use it in GitHub Desktop.
Revisions
-
kirrmann revised this gist
Mar 21, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -21,4 +21,4 @@ chmod 755 $installdir/locales chmod 644 $installdir/locales/* chmod +x $installdir/chrome echo "*** cleaning up ***" rm -r $tmpdir/* -
kirrmann revised this gist
Mar 21, 2012 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,14 +3,14 @@ backup="/tmp/chromium-linux-backup.tar.gz" tmpdir="/tmp/chromium-nightly" installdir="/usr/lib/chromium" url="http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64" echo "*** update script for Chromium nightly builds ***" mkdir $tmpdir 2> /dev/null cd $tmpdir NEW=$(curl -s $url/LAST_CHANGE) echo "*** downloading latest build ($NEW) ***" curl -# -L -o chrome-linux.zip $url/$NEW/chrome-linux.zip mkdir $installdir &> /dev/null echo "*** putting backup to $backup ***" tar czf $backup $installdir &> /dev/null @@ -21,4 +21,4 @@ chmod 755 $installdir/locales chmod 644 $installdir/locales/* chmod +x $installdir/chrome echo "*** cleaning up ***" rm -r $tmpdir/* -
kirrmann created this gist
Feb 21, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ #!/bin/bash backup="/tmp/chromium-linux-backup.tar.gz" tmpdir="/tmp/chromium-nightly" installdir="/usr/lib/chromium" echo "*** update script for Chromium nightly builds ***" mkdir $tmpdir 2> /dev/null cd $tmpdir wget -nv --quiet http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/LAST_CHANGE NEW=$(<LAST_CHANGE) echo "*** downloading latest build ($NEW) ***" wget -nv --quiet http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/$NEW/chrome-linux.zip mkdir $installdir &> /dev/null echo "*** putting backup to $backup ***" tar czf $backup $installdir &> /dev/null echo "*** extracting build ***" bsdtar -x --strip-components 1 -f chrome-linux.zip -C /usr/lib/chromium/ chmod 644 $installdir/* chmod 755 $installdir/locales chmod 644 $installdir/locales/* chmod +x $installdir/chrome echo "*** cleaning up ***" rm -r $tmpdir/*