From 777bc3dfcf9417377655c6842fdab9dd506372d1 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 17 Jun 2020 19:44:22 +0200 Subject: [PATCH] syntax --- scripts/install | 2 +- scripts/upgrade | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index ba784e1..d2f9c94 100644 --- a/scripts/install +++ b/scripts/install @@ -56,11 +56,11 @@ ynh_script_progression --message="Installing dependencies..." --time --weight=1 ynh_install_app_dependencies $pkg_dependencies - #================================================= # CREATE DEDICATED USER #================================================= ynh_script_progression --message="Configuring system user..." --time --weight=1 + # Create a system user ynh_system_user_create --username=$app diff --git a/scripts/upgrade b/scripts/upgrade index a764151..a708b02 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,7 +18,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) -#is_public=$(ynh_app_setting_get --app=$app --key=is_public) final_path=$(ynh_app_setting_get --app=$app --key=final_path) || ynh_die "This path already contains a folder" #================================================= # CHECK VERSION