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 #=================================================