1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/webtrees_ynh.git synced 2024-09-03 18:26:37 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2024-08-01 21:10:42 +02:00
parent 6db14c2e27
commit ec8a659960

View file

@ -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
#=================================================