From 64cb1f53b59e572f8c7aadca1dea0f3a978c4536 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Thu, 13 Dec 2018 12:28:36 +0100 Subject: [PATCH] Update restore --- scripts/restore | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/restore b/scripts/restore index dd10c19..8ae81f0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -34,7 +34,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=$YNH_APP_INSTANCE_NAME +app=ynhzabbix #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS @@ -56,11 +56,11 @@ ynh_webpath_register $app $domain $path_url # STORE SETTINGS FROM MANIFEST #================================================= -ynh_app_setting_set $app domain $domain -ynh_app_setting_set $app path $path_url -ynh_app_setting_set $app admin $admin -ynh_app_setting_set $app is_public $is_public -ynh_app_setting_set $app language $language +domain=$(ynh_app_setting_get $app domain) +path_url=$(ynh_app_setting_get $app path) +admin=$(ynh_app_setting_get $app admin) +is_public=$(ynh_app_setting_get $app is_public) +language=$(ynh_app_setting_get $app language) #================================================= # INSTALL DEPENDENCIES