From cd262336c88149fa561d363cc45da7d3f025bbe7 Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Sat, 29 Sep 2012 18:50:57 +0100 Subject: [PATCH] Check for unzip on installation. --- srv/scripts/install.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/srv/scripts/install.sh b/srv/scripts/install.sh index 6943e873..325c3dc8 100755 --- a/srv/scripts/install.sh +++ b/srv/scripts/install.sh @@ -83,6 +83,18 @@ if [ ! -z $(which grails) ]; then exit 0 fi +echo "Looking for unzip..." +if [ -z $(which unzip) ]; then + echo "Not found." + echo "======================================================================================================" + echo " Please install unzip on your system using your favourite package manager." + echo "" + echo " Restart after installing unzip." + echo "======================================================================================================" + echo "" + exit 0 +fi + echo "Looking for curl..." if [ -z $(which curl) ]; then echo "Not found." @@ -101,7 +113,7 @@ if [ -z $(which curl) ]; then echo "" echo " GVM uses curl for crucial interactions with it's backend server." echo "" - echo " Please install curl and restart." + echo " Please restart after installing curl." echo "======================================================================================================" echo "" exit 0