From 602c0e0680183d38788ab2f73ec795ddea8b6b0a Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Thu, 13 Dec 2018 13:33:04 +0100 Subject: [PATCH] Update restore --- scripts/restore | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/scripts/restore b/scripts/restore index 8ae81f0..166ef64 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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