From 1d87c5991bea3549721caaa98d8d28602cf775e9 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 13 Sep 2018 09:56:07 +0200 Subject: [PATCH] [enh] Comments in upgrade script --- scripts/upgrade | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 84ec388..c054c34 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,15 +67,13 @@ ynh_abort_if_errors # Normalize the URL path syntax path_url=$(ynh_normalize_url_path $path_url) - - #================================================= # STANDARD UPGRADE STEPS #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -# Download, check integrity, uncompress and patch the source from app.src +# Download, check integrity, uncompress and patch the source from app-upgrade.src ynh_setup_source "$final_path" "app-upgrade" #================================================= @@ -105,14 +103,13 @@ ynh_system_user_create "$app" # Create a dedicated php-fpm config ynh_add_fpm_config -chown -R "$app": "$final_path" - #================================================= # GENERIC FINALIZATION #================================================= # SECURE FILES AND DIRECTORIES #================================================= +chown -R "$app": "$final_path" #================================================= # SETUP SSOWAT