diff --git a/scripts/upgrade b/scripts/upgrade index 38f5187..9edc80f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -23,7 +23,8 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" #================================================= ynh_script_progression --message="Upgrading source files..." --weight=4 -ynh_setup_source --dest_dir="$install_dir" --keep="settings.json" +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="settings.json" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"