diff --git a/scripts/restore b/scripts/restore index b139591..423f1ae 100755 --- a/scripts/restore +++ b/scripts/restore @@ -31,7 +31,7 @@ then ynh_script_progression --message="Migrating binary architecture..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --keep="config/appsettings.json" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config" fi chmod -R o-rwx "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index 94b9df5..6500482 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,7 +33,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="$install_dir" --keep="config/appsettings.json" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config" fi chmod -R o-rwx "$install_dir"