From ec8a6599602528583af973ca6db0b442599fc68c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 1 Aug 2024 21:10:42 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index dd132c1..a1777db 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -14,15 +14,15 @@ ynh_app_setting_set_default --key=admin_name --value=$name ynh_app_setting_set_default --key=admin_email --value=$email if [ -n "${username:-}" ]; then - ynh_app_setting_delete --app="$app" --key="username" + ynh_app_setting_delete --app="$app" --key="admin_username" fi if [ -n "${name:-}" ]; then - ynh_app_setting_delete --app="$app" --key="name" + ynh_app_setting_delete --app="$app" --key="admin_name" fi if [ -n "${email:-}" ]; then - ynh_app_setting_delete --app="$app" --key="email" + ynh_app_setting_delete --app="$app" --key="admin_email" fi #=================================================