From f7b14cf766c889ae4b9963d7c473e57424de2150 Mon Sep 17 00:00:00 2001 From: Stylix58 <63605602+Stylix58@users.noreply.github.com> Date: Sun, 21 Mar 2021 15:12:29 +0100 Subject: [PATCH] Update install --- scripts/install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 4b981f8..7d71f77 100755 --- a/scripts/install +++ b/scripts/install @@ -53,13 +53,14 @@ ynh_script_progression --message="Validating installation parameters..." --weigh final_path=$path_url test ! -e "$final_path" || ynh_die --message="This path already contains a folder" +# Register (book) web path if [[ $path_url =~ my_webapp ]] then - $path_url=`echo $YNH_APP_ARG_PATH` + ynh_webpath_register --app=$app --domain=$domain --path_url=$YNH_APP_ARG_PATH +else + ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url fi -# Register (book) web path -ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url #================================================= # STORE SETTINGS FROM MANIFEST