From c8dc893980f45d64e89e79eb757069c5f5388ba5 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 28 Jun 2021 08:43:00 +0200 Subject: [PATCH] Fix --- manifest.json | 5 ----- scripts/install | 2 -- scripts/upgrade | 1 - 3 files changed, 8 deletions(-) diff --git a/manifest.json b/manifest.json index 8e8fb61..93b9461 100644 --- a/manifest.json +++ b/manifest.json @@ -40,11 +40,6 @@ "example": "/opennote", "default": "/opennote" }, - { - "name": "admin", - "type": "user", - "example": "johndoe" - }, { "name": "is_public", "type": "boolean", diff --git a/scripts/install b/scripts/install index 2585782..a586229 100644 --- a/scripts/install +++ b/scripts/install @@ -30,7 +30,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH path=$YNH_APP_ARG_PATH -admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC #================================================= @@ -51,7 +50,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=1 ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url -ynh_app_setting_set --app=$app --key=admin --value=$admin #================================================= # CREATE DEDICATED USER diff --git a/scripts/upgrade b/scripts/upgrade index 12c8451..6601eb0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,7 +18,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) -admin=$(ynh_app_setting_get --app=$app --key=admin) final_path=$(ynh_app_setting_get --app=$app --key=final_path) db_name=$(ynh_app_setting_get --app=$app --key=db_name)