From efbcabaddb82ecc2b254628545c96c1a081a0cc1 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 3 Dec 2020 09:31:53 +0100 Subject: [PATCH] Update install --- scripts/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 5a4d15c..58be67e 100644 --- a/scripts/install +++ b/scripts/install @@ -25,6 +25,11 @@ is_public=$YNH_APP_ARG_IS_PUBLIC app=$YNH_APP_INSTANCE_NAME +#================================================= +# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS +#================================================= +ynh_script_progression --message="Validating installation parameters..." --weight=1 + if [[ "$path_url" != "/" ]] then # We use the path url name (e.g. /documents) instead of h5ai for convenience... @@ -33,11 +38,6 @@ else final_path=/var/www/$app fi -#================================================= -# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS -#================================================= -ynh_script_progression --message="Validating installation parameters..." --weight=1 - # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url