diff --git a/scripts/upgrade b/scripts/upgrade index f845b4f..34e4e13 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,13 +71,10 @@ fi if [ "$upgrade_type" == "UPGRADE_APP" ] then - # purge the "bundles" folder to avoid pointlessly taking up space at each update - ynh_secure_remove --file="$install_dir/bundles/" - 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.json" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config.json" fi chmod -R o-rwx "$install_dir"