diff --git a/src/warden-client/sh/install.sh b/src/warden-client/sh/install.sh index af7fe7eab54c3a2bbdfd753a748c124f032e9baa..237dab370e4a7861f4ad7a5aa12d0405a63dc34b 100755 --- a/src/warden-client/sh/install.sh +++ b/src/warden-client/sh/install.sh @@ -181,19 +181,6 @@ modules_chck() } -installation_dir_chck() -{ - echo -n "Checking installation directory ... " - if [ ! -d $prefix ]; then - echo "FAILED!" - ls $prefix - exit 1 - else - echo "OK" - fi -} - - make_warden_dir() { echo -n "Creating warden client directory ... " @@ -346,9 +333,6 @@ modules_chck echo echo "------------------------- Installation process --------------------------" -# check installation directory -installation_dir_chck - # make warden client directory make_warden_dir diff --git a/src/warden-client/sh/update.sh b/src/warden-client/sh/update.sh index 0009c7e583b8d71bb0967390d9c71ea606a87215..84b4efdfed8a793e5978431a538ccdfc75c1667e 100755 --- a/src/warden-client/sh/update.sh +++ b/src/warden-client/sh/update.sh @@ -165,25 +165,12 @@ modules_chck() } -installation_dir_chck() -{ - echo -n "Checking installation directory ... " - if [ ! -d $prefix ]; then - echo "FAILED!" - ls $prefix - exit 1 - else - echo "OK" - fi -} - - warden_dir_chck() { echo -n "Checking warden client directory ... " if [ ! -d $client_path ]; then echo "FAILED!" - ls $prefix + ls $client_path exit 1 else echo "OK"