From 2db358236b88f28816726eb57f99e2e252ef1749 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 30 Mar 2013 19:32:10 -0700 Subject: [PATCH] Added logging. --- setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index b3c4a048..eb338a1d 100755 --- a/setup.sh +++ b/setup.sh @@ -29,7 +29,9 @@ function install_essentials() { source .brew ;; 'Linux') + echo "Linux detected." 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 @@ -51,8 +53,7 @@ function install_python_packages() { sudo -v -echo "Installing essential files." -[ "$1" == "--install" -o "$1" == "-i" ] && install_essentials +[ "$1" == "--install" -o "$1" == "-i" ] && echo "Installing essential files." && install_essentials echo "Installing Dot Files." source bootstrap.sh echo "Installing Tmux Configuration."