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