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)