1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dokuwiki_ynh.git synced 2024-09-03 18:26:20 +02:00

Source as a same place

This commit is contained in:
magikcypress 2017-03-07 23:28:55 +01:00
parent d76f10cc11
commit d0eee971bb

View file

@ -16,6 +16,8 @@ set -eu
# Retrieve arguments
source .fonctions # Loads the generic functions usually used in the script
# Source app helpers
source /usr/share/yunohost/helpers
TRAP_ON # Active trap for strop script if detect error.
@ -26,9 +28,6 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME
# Source app helpers
source /usr/share/yunohost/helpers
CHECK_VAR "$app" "app name not set"
CHECK_USER "$admin"