mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
Fix backward compatibility tests²
This commit is contained in:
parent
99e805b816
commit
d3c04624d8
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ fi
|
|||
# Load up registration variables
|
||||
registration=$(ynh_app_setting_get --app=$app --key=registration)
|
||||
if [ -z ${registration:-} ]; then
|
||||
if [ "$registration_disabled" -eq "1" ]
|
||||
if [[ $registration_disabled = *"alse" ]]
|
||||
then
|
||||
really_enable_open_registration="--really-enable-open-registration"
|
||||
else
|
||||
|
@ -89,7 +89,7 @@ if [ -z ${registration:-} ]; then
|
|||
fi
|
||||
else
|
||||
ynh_app_setting_delete --app=$app --key=registration
|
||||
if [[ "$registration" -eq "1" ]]
|
||||
if [[ $registration == *"rue" ]]
|
||||
then
|
||||
registration_disabled="false"
|
||||
really_enable_open_registration="--really-enable-open-registration"
|
||||
|
|
Loading…
Add table
Reference in a new issue