1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

Update restore

This commit is contained in:
Mickael-Martin 2018-12-13 13:33:04 +01:00
parent 64cb1f53b5
commit 602c0e0680

View file

@ -4,7 +4,7 @@
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
#source _common.sh
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
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
### 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
### guaranteed to be unique. This is a good unique identifier to define installation path,
### db names, ...
app=ynhzabbix
app="ynhzabbix"
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS