From 405037e3eca17c368ea24ff78e5f2c69c843e3a2 Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Wed, 11 Mar 2015 14:54:38 -0400 Subject: [PATCH] Fixed install script --- install | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/install b/install index 01daa5dd8..338484e9a 100755 --- a/install +++ b/install @@ -286,15 +286,13 @@ echo "/ | \ || | \ | | | / Y \| \ " echo "\____|__ /___||____|_ / |____| |___\____|__ /_______ / " echo -e " \/ \/ \/ \/ \n" -# If we don't pass the distribution/release into the installer, -# install lsb-release and fetch them -if [ -z "${distro}" ]; then - loudCmd "apt-get install lsb-release" - dist=`lsb_release -ds | awk '{print tolower($1);}'` - code=`lsb_release -cs` -fi - if [ "$ignore_dependencies" = "f" ]; then + if [ -z "${dist}" ]; then + loudCmd "apt-get install lsb-release" + dist=`lsb_release -ds | awk '{print tolower($1);}'` + code=`lsb_release -cs` + fi + loud "\n-----------------------------------------------------" loud " * Installing External Dependencies * " loud "-----------------------------------------------------"