From 08d021c6271c9b30262980933486cb2444d2b216 Mon Sep 17 00:00:00 2001 From: Stylix58 <63605602+Stylix58@users.noreply.github.com> Date: Sun, 28 Mar 2021 19:22:33 +0200 Subject: [PATCH] Update install --- scripts/install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 4de5000..d463bec 100755 --- a/scripts/install +++ b/scripts/install @@ -54,17 +54,15 @@ 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" -echo $final_path - # Register (book) web path if [[ $path_url =~ my_webapp ]] then mkdir $YNH_APP_ARG_PATH + chown -R www-data.www-data $final_path ynh_webpath_register --app=$app --domain=$domain --path_url=$YNH_APP_ARG_PATH - chown -R my_webapp $final_path else ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url - chown -R www-data.www-data $final_path + chown -R my_webapp $final_path fi