Last active
December 31, 2015 20:19
-
-
Save amercier/8039499 to your computer and use it in GitHub Desktop.
bash <(curl -# -L https://gist.github.com/amercier/8039499/raw)
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
#! /usr/bin/env bash | |
if [ "`whoami`" != "root" ]; then | |
echo "You must execute this script as root" >&2 | |
exit 1 | |
fi | |
echo ".----------------------------." | |
echo "| Google Chrome installation |" | |
echo "'----------------------------'" | |
aptitude install xdg-utils \ | |
&& curl -# https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb > google-chrome-stable_current_amd64.deb \ | |
&& dpkg -i google-chrome-stable_current_amd64.deb \ | |
&& rm google-chrome-stable_current_amd64.deb \ | |
&& echo ".--------------------------------------." \ | |
&& echo "| Google Chrome installed successfully |" \ | |
&& echo "'--------------------------------------'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment