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:
parent
1d4645df6b
commit
04034afa93
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue