diff --git a/scripts/restore b/scripts/restore index cb44644..a470ec5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -80,12 +80,6 @@ chown -R root: $final_path #================================================= # SPECIFIC RESTORATION -#================================================= -# RESTORE CONF_REGEN HOOK -#================================================= - -ynh_restore_file --origin_path="/usr/share/yunohost/hooks/conf_regen/50-metronome_$app" - #================================================= # REINSTALL DEPENDENCIES #================================================= @@ -138,6 +132,12 @@ ynh_restore_file --origin_path="/usr/lib/metronome/modules/mod_smacks.lua" ynh_systemd_action --service_name=metronome --action=restart +#================================================= +# RESTORE CONF_REGEN HOOK +#================================================= + +ynh_restore_file --origin_path="/usr/share/yunohost/hooks/conf_regen/50-metronome_$app" + #================================================= # RESTORE SYSTEMD #=================================================