|
@@ -2,6 +2,9 @@
|
|
|
|
|
|
set -eu
|
|
|
|
|
|
+# Source YunoHost helpers
|
|
|
+. /usr/share/yunohost/helpers
|
|
|
+
|
|
|
app=$YNH_APP_INSTANCE_NAME
|
|
|
|
|
|
# Retrieve arguments
|
|
@@ -22,8 +25,6 @@ cnil_number=$YNH_APP_ARG_CNIL_NUMBER
|
|
|
url_contact=$YNH_APP_ARG_URL_CONTACT
|
|
|
secret=$(ynh_string_random 120)
|
|
|
|
|
|
-# Source YunoHost helpers
|
|
|
-. /usr/share/yunohost/helpers
|
|
|
|
|
|
# Check if admin exists
|
|
|
ynh_user_exists $admin \
|