reorder helpers

This commit is contained in:
yalh76 2019-04-03 03:27:49 +02:00
parent d20d74f156
commit 640a2a48dd
4 changed files with 6 additions and 11 deletions

View file

@ -8,8 +8,8 @@
#Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
source ../settings/scripts/ynh_systemd_action
source /usr/share/yunohost/helpers
#=================================================
# MANAGE SCRIPT FAILURE

View file

@ -7,9 +7,9 @@
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
source ynh_add_secure_repos__3
source ynh_systemd_action
source /usr/share/yunohost/helpers
#=================================================
# MANAGE SCRIPT FAILURE

View file

@ -6,15 +6,10 @@
# IMPORT GENERIC HELPERS
#=================================================
if [ ! -e _common.sh ]; then
# Get the _common.sh file if it's not in the current directory
cp ../settings/scripts/_common.sh ./_common.sh
fi
source _common.sh
source ../settings/scripts/_common.sh
source ../settings/scripts/ynh_add_secure_repos__3
source ../settings/scripts/ynh_systemd_action
source /usr/share/yunohost/helpers
source ynh_add_secure_repos__3
source ynh_systemd_action
#=================================================
# MANAGE SCRIPT FAILURE

View file

@ -7,9 +7,9 @@
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
source ynh_add_secure_repos__3
source ynh_systemd_action
source /usr/share/yunohost/helpers
#=================================================
# LOAD SETTINGS