From 36564fcfe3d8356815353a8e116546f3c3695396 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 30 Mar 2013 19:48:10 -0700 Subject: [PATCH] Updated grouping of statement. --- setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index eb338a1d..0d7e703e 100755 --- a/setup.sh +++ b/setup.sh @@ -30,11 +30,11 @@ function install_essentials() { ;; 'Linux') echo "Linux detected." - hash apt-get &>/dev/null || echo 'apt-get is missing.' && exit + hash apt-get &>/dev/null || (echo 'apt-get is missing.' && exit) echo "apt-get found." - apt-get install build-essential - apt-get install git - git clone git@github.com:IvanMalison/dotfiles.git + sudo apt-get install build-essential + sudo apt-get install git + sudo git clone git@github.com:IvanMalison/dotfiles.git cd dotfiles source .debian ;;