Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding google-chrome install script

  • Loading branch information...
commit b10cf9c5c281e6789c19ef6d186512f33a343735 1 parent db9c357
@btilford authored
Showing with 26 additions and 3 deletions.
  1. +25 −0 google-chrome.sh
  2. +1 −3 setup.sh
View
25 google-chrome.sh
@@ -0,0 +1,25 @@
+#! /bin/bash
+
+defaultChannel="stable"
+echo "Choose a channel [dev,beta,stable] default stable"
+read channel
+url="https://dl-ssl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
+
+case "$channel" in
+ "stable")
+ url="https://dl-ssl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
+ ;;
+ "beta")
+ url="http://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb"
+ ;;
+ "dev")
+ url="http://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb"
+ ;;
+esac
+
+echo "Downloading google-chrome $channel channel from $url"
+wget $url
+debFile=${url##*/}
+echo "Installing $debFile"
+sudo dpkg -i $debFile
+rm $debFile
View
4 setup.sh
@@ -1,8 +1,6 @@
#! /bin/bash
-sudo apt-get install git guake
-ssh-keygen
-mkdir ~/work
+. essentials.sh
. java.sh
Please sign in to comment.
Something went wrong with that request. Please try again.