From 5bcce88724cdeaa103ccedf1ea2c5f44d79bbc00 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 6 Feb 2022 15:59:20 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3a39c19..f34cccd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -102,7 +102,7 @@ then ynh_secure_remove --file="$final_path/app" ynh_secure_remove --file="$final_path/public/assets" # 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/.env" fi chmod 750 "$final_path" @@ -135,11 +135,11 @@ ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_ #================================================= # CONFIGURE CASTOPOD #================================================= -ynh_script_progression --message="Configuring Castopod..." --weight=1 +# ynh_script_progression --message="Configuring Castopod..." --weight=1 -ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" -chmod 600 $final_path/.env -chown $app:www-data "$final_path/.env" +# ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" +# chmod 600 $final_path/.env +# chown $app:www-data "$final_path/.env" #================================================= # SETUP CRON