1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/archivist_ynh.git synced 2024-09-03 18:15:55 +02:00

Add ynh_abort_if_up_to_date

This commit is contained in:
Maniack Crudelis 2017-12-16 23:06:00 +01:00
parent 597ab89573
commit acd768c582

View file

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