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:
parent
d76f10cc11
commit
d0eee971bb
1 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue