From 39a3ea99c711abbee71c9e9c28d9b973349dfe35 Mon Sep 17 00:00:00 2001 From: liberodark Date: Sat, 30 May 2020 21:47:28 +0200 Subject: [PATCH] Update install --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index 864bb97..80d65ee 100644 --- a/scripts/install +++ b/scripts/install @@ -29,6 +29,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=$YNH_APP_ARG_ADMIN ### 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 @@ -66,6 +67,7 @@ ynh_webpath_register "$app" "$domain" "$path_url" ynh_app_setting_set "$app" domain "$domain" ynh_app_setting_set "$app" path "$path_url" ynh_app_setting_set "$app" is_public "$is_public" +ynh_app_setting_set $app admin $admin #================================================= # INSTALL DEPENDENCIES @@ -178,6 +180,11 @@ ynh_replace_string --match_string="8096