diff --git a/scripts/upgrade b/scripts/upgrade index 9edc80f..1960c1d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -24,7 +24,7 @@ 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" --full_replace=1 --keep="settings.json" +ynh_setup_source --dest_dir="$install_dir" --keep="settings.json" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"