|
@@ -4,7 +4,7 @@
|
|
|
# IMPORT GENERIC HELPERS
|
|
# IMPORT GENERIC HELPERS
|
|
|
#=================================================
|
|
#=================================================
|
|
|
|
|
|
|
|
-source _common.sh
|
|
|
|
|
|
|
+#source _common.sh
|
|
|
source /usr/share/yunohost/helpers
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
#=================================================
|
|
@@ -12,17 +12,7 @@ source /usr/share/yunohost/helpers
|
|
|
#=================================================
|
|
#=================================================
|
|
|
|
|
|
|
|
# Exit if an error occurs during the execution of the script
|
|
# Exit if an error occurs during the execution of the script
|
|
|
-ynh_abort_if_errors
|
|
|
|
|
-
|
|
|
|
|
-#=================================================
|
|
|
|
|
-# RETRIEVE ARGUMENTS FROM THE MANIFEST
|
|
|
|
|
-#=================================================
|
|
|
|
|
-
|
|
|
|
|
-domain=$YNH_APP_ARG_DOMAIN
|
|
|
|
|
-path_url=$YNH_APP_ARG_PATH
|
|
|
|
|
-admin=$YNH_APP_ARG_ADMIN
|
|
|
|
|
-is_public=$YNH_APP_ARG_IS_PUBLIC
|
|
|
|
|
-language=$YNH_APP_ARG_LANGUAGE
|
|
|
|
|
|
|
+#ynh_abort_if_errors
|
|
|
|
|
|
|
|
### If it's a multi-instance app, meaning it can be installed several times independently
|
|
### If it's a multi-instance app, meaning it can be installed several times independently
|
|
|
### The id of the app as stated in the manifest is available as $YNH_APP_ID
|
|
### The id of the app as stated in the manifest is available as $YNH_APP_ID
|
|
@@ -34,7 +24,7 @@ language=$YNH_APP_ARG_LANGUAGE
|
|
|
### The app instance name is probably what interests you most, since this is
|
|
### The app instance name is probably what interests you most, since this is
|
|
|
### guaranteed to be unique. This is a good unique identifier to define installation path,
|
|
### guaranteed to be unique. This is a good unique identifier to define installation path,
|
|
|
### db names, ...
|
|
### db names, ...
|
|
|
-app=ynhzabbix
|
|
|
|
|
|
|
+app="ynhzabbix"
|
|
|
|
|
|
|
|
#=================================================
|
|
#=================================================
|
|
|
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
|
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|