diff --git a/scripts/upgrade b/scripts/upgrade index e240a4b..a9aec5a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,7 +55,7 @@ fi ynh_script_progression --message="Upgrading source files..." --weight=2 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="passkey Backup_list.conf" chown -R "root:root" "$install_dir" @@ -77,7 +77,6 @@ if (( overwrite_cron == 1 )); then ynh_add_config --template="archivist.cron" --destination="/etc/cron.d/$app" fi - #================================================= # END OF SCRIPT #=================================================