From ea9174b1e236acb0e08b64320ddc6d705485cbd5 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Wed, 15 Feb 2017 01:14:31 +0000 Subject: [PATCH] Missing retreival of $admin paramater --- scripts/restore | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 6aa5a80..8556884 100644 --- a/scripts/restore +++ b/scripts/restore @@ -8,6 +8,7 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get $app domain) path=$(ynh_app_setting_get $app path) +admin=$(ynh_app_setting_get $app admin) final_path=$(ynh_app_setting_get $app final_path) db_user=$(ynh_app_setting_get $app db_user) db_pwd=$(ynh_app_setting_get $app db_pwd) diff --git a/scripts/upgrade b/scripts/upgrade index 34c6e3a..d5bb444 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -10,6 +10,7 @@ source /usr/share/yunohost/helpers domain=$(ynh_app_setting_get $app domain) path=$(ynh_app_setting_get $app path) +admin=$(ynh_app_setting_get $app admin) final_path=$(ynh_app_setting_get $app final_path) db_pwd=$(ynh_app_setting_get $app db_pwd) db_user=$(ynh_app_setting_get $app db_user)