From e1ca3f8222646c4ecf5163d2db8781dd3320b54c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 13 Aug 2019 19:56:54 +0200 Subject: [PATCH] reorder RESTORE CONF_REGEN HOOK --- scripts/restore | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 #=================================================