From a03dfe690db0f2459fd3837c322b3f86bb976da3 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sun, 9 Dec 2012 18:42:13 +0200 Subject: [PATCH] don't hide git clone errors --- utils/installer.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/utils/installer.sh b/utils/installer.sh index 80edef1..76bf81d 100755 --- a/utils/installer.sh +++ b/utils/installer.sh @@ -1,15 +1,14 @@ install_prelude () { - printf " Cloning the repository.\n$RESET" + printf " Cloning the Prelude's GitHub repository...\n$RESET" if [ x$PRELUDE_VERBOSE != x ] then /usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR else - /usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR > /dev/null 2>&1 + /usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR > /dev/null fi if ! [ $? -eq 0 ] then - printf "$RED Unkown git error occured during installation, " - printf "please check the source url: $PRELUDE_URL\n$RESET" + printf "$RED A fatal error occurred during Prelude's installation. Aborting..." exit 1 fi }