From 7c66bf8aa15745bfd6e0d70042e74fc072b3d718 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 4 Sep 2021 07:34:41 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a488297..04518e3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -72,10 +72,10 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/inc/config.php" #This remoses the lock to do the post upgrade process. - ynh_secure_remove --file="$final_path/install/lock" + #ynh_secure_remove --file="$final_path/install/lock" fi chmod 750 "$final_path" @@ -85,12 +85,12 @@ chown -R $app:www-data "$final_path" #================================================= # ADD A CONFIGURATION #================================================= -ynh_script_progression --message="Adding a configuration file..." --weight=1 +# ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/config.php" --destination="$final_path/inc/config.php" +# ynh_add_config --template="../conf/config.php" --destination="$final_path/inc/config.php" -chmod 666 "$final_path/inc/config.php" -chown $app:$app "$final_path/inc/config.php" +# chmod 666 "$final_path/inc/config.php" +# chown $app:$app "$final_path/inc/config.php" #================================================= # NGINX CONFIGURATION