From 8cd71c5187feb56f6350dbdb1aaef89eeae76de0 Mon Sep 17 00:00:00 2001 From: Marco Vermeulen Date: Sat, 20 Oct 2012 12:29:57 +0100 Subject: [PATCH] Remove check for GRAILS_HOME and grails in installer. --- srv/scripts/install.sh | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/srv/scripts/install.sh b/srv/scripts/install.sh index 07469e99..35c22e77 100755 --- a/srv/scripts/install.sh +++ b/srv/scripts/install.sh @@ -72,37 +72,6 @@ if [ ! -f "$JAVA_HOME/bin/java" ]; then exit 0 fi -echo "Checking for previous versions of Grails..." -if [ ! -z "$GRAILS_HOME" ]; then - echo "GRAILS_HOME found." - echo "" - echo "======================================================================================================" - echo " You already have a GRAILS_HOME defined. This will cause problems with GVM." - echo " GRAILS_HOME is currently pointing to:" - echo "" - echo " $GRAILS_HOME" - echo "" - echo " Please remove it from your PATH and restart." - echo "======================================================================================================" - echo "" - exit 0 -fi - -if [ ! -z $(which grails) ]; then - echo "Grails found." - echo "" - echo "======================================================================================================" - echo " You already have Grails installed. This will cause problems with GVM." - echo " Grails was found at:" - echo "" - echo " $(which grails)" - echo "" - echo " Please remove it from your PATH and restart." - echo "======================================================================================================" - echo "" - exit 0 -fi - echo "Looking for zip..." if [ -z $(which zip) ]; then echo "Not found."