From 2b5c998dc941f64345e768765e65e405a3eeb1e8 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Fri, 23 Dec 2016 21:01:37 +0000 Subject: [PATCH] Re-order of checks --- scripts/install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 0ddc75f..fc8bc37 100755 --- a/scripts/install +++ b/scripts/install @@ -26,14 +26,13 @@ CHECK_VAR "$app" "app name not set" # Check the path value and correct it (adds / at begining and removes it at the end) CHECK_PATH; - -CHECK_CALIBREPATH; - # Check domain and path availibility CHECK_DOMAINPATH # Check destination folder is not used already CHECK_FINALPATH +CHECK_CALIBREPATH; + final_path=/var/www/$app # Define variables and Save app settings