1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

fix oidc_link_existing for already installed gts

This commit is contained in:
OniriCorpe 2024-01-16 04:44:18 +01:00
parent 1d4645df6b
commit 04034afa93

View file

@ -267,6 +267,12 @@ then
ynh_app_setting_set --app="$app" --key=oidc_client_secret --value="$oidc_link_existing"
fi
# fix a dumb "i set the setting to the wrong key in the past so i need to fix this shit"
if [ -z "$oidc_link_existing" ]; then
oidc_link_existing="false"
ynh_app_setting_set --app="$app" --key=oidc_client_secret --value="$oidc_link_existing"
fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================