From 09eaf66c470ada07ff58a3bda83ea7bc3d30db31 Mon Sep 17 00:00:00 2001 From: Limezy Date: Sun, 14 Nov 2021 23:37:40 +0700 Subject: [PATCH] admin remove --- scripts/backup | 1 - scripts/change_url | 1 - scripts/install | 2 -- scripts/remove | 1 - scripts/restore | 1 - scripts/upgrade | 1 - 6 files changed, 7 deletions(-) diff --git a/scripts/backup b/scripts/backup index 2226ce9..48657e3 100755 --- a/scripts/backup +++ b/scripts/backup @@ -32,7 +32,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path_url) port=$(ynh_app_setting_get --app=$app --key=port) -admin=$(ynh_app_setting_get --app=$app --key=admin) db_name=$(ynh_app_setting_get --app=$app --key=db_name) language_key=$(ynh_app_setting_get --app=$app --key=language_key) slack_key=$(ynh_app_setting_get --app=$app --key=slack_key) diff --git a/scripts/change_url b/scripts/change_url index d0c99a7..bdbb55d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -31,7 +31,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path_url) port=$(ynh_app_setting_get --app=$app --key=port) -admin=$(ynh_app_setting_get --app=$app --key=admin) db_name=$(ynh_app_setting_get --app=$app --key=db_name) language_key=$(ynh_app_setting_get --app=$app --key=language_key) slack_key=$(ynh_app_setting_get --app=$app --key=slack_key) diff --git a/scripts/install b/scripts/install index 41618ef..8603313 100755 --- a/scripts/install +++ b/scripts/install @@ -44,8 +44,6 @@ utils_secret=$(ynh_hex_32_random) slack_key=$YNH_APP_ARG_SLACK_KEY slack_secret=$YNH_APP_ARG_SLACK_SECRET -admin=$YNH_APP_ARG_ADMIN - app=$YNH_APP_INSTANCE_NAME #================================================= diff --git a/scripts/remove b/scripts/remove index f95204c..7338e14 100755 --- a/scripts/remove +++ b/scripts/remove @@ -19,7 +19,6 @@ app=$YNH_APP_INSTANCE_NAME final_path=$(ynh_app_setting_get --app=$app --key=final_path) domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path_url) -admin=$(ynh_app_setting_get --app=$app --key=admin) db_name=$(ynh_app_setting_get --app=$app --key=db_name) language_key=$(ynh_app_setting_get --app=$app --key=language_key) slack_key=$(ynh_app_setting_get --app=$app --key=slack_key) diff --git a/scripts/restore b/scripts/restore index f10fb84..4866d64 100755 --- a/scripts/restore +++ b/scripts/restore @@ -41,7 +41,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path_url) port=$(ynh_app_setting_get --app=$app --key=port) -admin=$(ynh_app_setting_get --app=$app --key=admin) db_name=$(ynh_app_setting_get --app=$app --key=db_name) language_key=$(ynh_app_setting_get --app=$app --key=language_key) slack_key=$(ynh_app_setting_get --app=$app --key=slack_key) diff --git a/scripts/upgrade b/scripts/upgrade index fcca5f1..8199ce3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,7 +20,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path_url) port=$(ynh_app_setting_get --app=$app --key=port) -admin=$(ynh_app_setting_get --app=$app --key=admin) db_name=$(ynh_app_setting_get --app=$app --key=db_name) language_key=$(ynh_app_setting_get --app=$app --key=language_key) slack_key=$(ynh_app_setting_get --app=$app --key=slack_key)