From 8441bf2ef5cef27db1b38b200c3ea5eeb6300f0d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 3 Feb 2021 22:06:57 +0100 Subject: [PATCH] add admin --- scripts/install | 2 +- scripts/upgrade | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 193a858..1e9851c 100644 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,7 @@ domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC password=$YNH_APP_ARG_PASSWORD -admin=admin +admin=$YNH_APP_ARG_ADMIN language=$YNH_APP_ARG_LANGUAGE expiration=$YNH_APP_ARG_EXPIRATION deletion=$YNH_APP_ARG_DELETION diff --git a/scripts/upgrade b/scripts/upgrade index 9fb7aff..4755b64 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -22,6 +22,7 @@ domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) is_public=$(ynh_app_setting_get --app=$app --key=is_public) final_path=$(ynh_app_setting_get --app=$app --key=final_path) +admin=$(ynh_app_setting_get --app=$app --key=admin) db_name=$(ynh_app_setting_get --app=$app --key=db_name) phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)