From 8ec9dd8ab835dfd72a070271b978f09d7cdd2590 Mon Sep 17 00:00:00 2001 From: Selamanse Date: Fri, 21 Jul 2017 12:11:26 +0200 Subject: [PATCH] Fixes helper inclusion --- scripts/backup | 12 ++++++------ scripts/restore | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/backup b/scripts/backup index 39dd3b2..3ce3a54 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,6 +1,12 @@ #!/bin/bash set -eu +#================================================= +# IMPORT GENERIC HELPERS +#================================================= + +source /usr/share/yunohost/helpers + #================================================= # GENERIC START #================================================= @@ -10,12 +16,6 @@ set -eu # Exit on command errors and treat access to unset variables as an error ynh_abort_if_errors -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - -source /usr/share/yunohost/helpers - #================================================= # LOAD SETTINGS #================================================= diff --git a/scripts/restore b/scripts/restore index f47cea8..34803b8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -1,6 +1,12 @@ #!/bin/bash set -eu +#================================================= +# IMPORT GENERIC HELPERS +#================================================= + +source /usr/share/yunohost/helpers + #================================================= # GENERIC START #================================================= @@ -10,12 +16,6 @@ set -eu # Exit on command errors and treat access to unset variables as an error ynh_abort_if_errors -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - -source /usr/share/yunohost/helpers - #================================================= # LOAD SETTINGS #=================================================