From 3cbb950504fac3afeda7d34c472fea020a9fad72 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 6 Dec 2021 23:14:43 +0100 Subject: [PATCH] Update install --- scripts/install | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/scripts/install b/scripts/install index 87b5f56..f9a3e89 100644 --- a/scripts/install +++ b/scripts/install @@ -22,25 +22,16 @@ ynh_abort_if_errors # Retrieve arguments domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH -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 +ynh_script_progression --message="Validating installation parameters..." --weight=1 -# final_path=/var/www/$app -# test ! -e "$final_path" || ynh_die "This path already contains a folder" - -# # Normalize the url path syntax -# path_url=$(ynh_normalize_url_path $path_url) - -# # Check web path availability -# ynh_webpath_available $domain $path_url -# # Register (book) web path -# ynh_webpath_register $app $domain $path_url +# Register (book) web path +ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url #================================================= # STORE SETTINGS FROM MANIFEST