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:
parent
6db14c2e27
commit
ec8a659960
1 changed files with 3 additions and 3 deletions
|
@ -14,15 +14,15 @@ ynh_app_setting_set_default --key=admin_name --value=$name
|
||||||
ynh_app_setting_set_default --key=admin_email --value=$email
|
ynh_app_setting_set_default --key=admin_email --value=$email
|
||||||
|
|
||||||
if [ -n "${username:-}" ]; then
|
if [ -n "${username:-}" ]; then
|
||||||
ynh_app_setting_delete --app="$app" --key="username"
|
ynh_app_setting_delete --app="$app" --key="admin_username"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${name:-}" ]; then
|
if [ -n "${name:-}" ]; then
|
||||||
ynh_app_setting_delete --app="$app" --key="name"
|
ynh_app_setting_delete --app="$app" --key="admin_name"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${email:-}" ]; then
|
if [ -n "${email:-}" ]; then
|
||||||
ynh_app_setting_delete --app="$app" --key="email"
|
ynh_app_setting_delete --app="$app" --key="admin_email"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue