From 41780b01886b60b92314a676a369b25bdbfc50b3 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 10 May 2022 07:54:58 +0200 Subject: [PATCH] keep config --- scripts/upgrade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5aaf02c..d13ef17 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -100,7 +100,7 @@ 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" --keep="$final_path/public/uploads $final_path/storage/uploads" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env $final_path/public/uploads $final_path/storage/uploads" fi #================================================= @@ -138,12 +138,12 @@ ynh_install_composer #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Adding a configuration file..." --weight=1 +# ynh_script_progression --message="Adding a configuration file..." --weight=1 -app_url_domain="https://$domain${path_url%/}" +# app_url_domain="https://$domain${path_url%/}" -ynh_add_config --template=../conf/.env.example --destination=$final_path/.env -chmod 600 $final_path/.env +# ynh_add_config --template=../conf/.env.example --destination=$final_path/.env +# chmod 600 $final_path/.env #================================================= # FINAL BOOKSTACK INSTALL