diff --git a/scripts/upgrade b/scripts/upgrade index edbfc5b..31d0845 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,6 +25,12 @@ app=$YNH_APP_INSTANCE_NAME final_path=$(ynh_app_setting_get $app final_path) frequency=$(ynh_app_setting_get $app frequency) +#================================================= +# CHECK VERSION +#================================================= + +ynh_abort_if_up_to_date + #================================================= # STANDARD UPGRADE STEPS #================================================= @@ -67,7 +73,7 @@ ynh_store_file_checksum "/etc/cron.d/$app" #================================================= # Use logrotate to manage app-specific logfile(s) -ynh_use_logrotate +ynh_use_logrotate --non-append #================================================= # GENERIC FINALIZATION