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

Update upgrade

This commit is contained in:
Éric Gaspar 2024-01-09 13:04:00 +01:00
parent d1fbfa6eb8
commit 7866d9787c

View file

@ -31,21 +31,21 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
if [ -z "${name:-}" ]; then
name=$OIDC_name
name=$oidc_name
ynh_app_setting_set --app=$app --key=name --value=$name
ynh_app_setting_delete --app=$app --key=OIDC_name
ynh_app_setting_delete --app=$app --key=oidc_name
fi
if [ -z "${secret:-}" ]; then
secret=$OIDC_secret
secret=$oidc_secret
ynh_app_setting_set --app=$app --key=secret --value=$secret
ynh_app_setting_delete --app=$app --key=OIDC_secret
ynh_app_setting_delete --app=$app --key=oidc_secret
fi
if [ -z "${callback:-}" ]; then
callback=$OIDC_callback
callback=$oidc_callback
ynh_app_setting_set --app=$app --key=callback --value=$callback
ynh_app_setting_delete --app=$app --key=OIDC_callback
ynh_app_setting_delete --app=$app --key=oidc_callback
fi
#=================================================