mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
Systex error for ifelse in install and upgrade
This commit is contained in:
parent
ad4995f41f
commit
1b62e7f0dd
2 changed files with 1 additions and 6 deletions
|
@ -145,7 +145,6 @@ if [ $dav_support -eq 0 ]
|
|||
then
|
||||
ynh_replace_string --match_string="__DAV__" --replace_string="false" --target_file="$config"
|
||||
else
|
||||
then
|
||||
ynh_replace_string --match_string="__DAV__" --replace_string="true" --target_file="$config"
|
||||
fi
|
||||
# Enable or disable signup for public users
|
||||
|
@ -153,7 +152,6 @@ if [ $signup -eq 1 ]
|
|||
then
|
||||
ynh_replace_string --match_string="__SIGNUP__" --replace_string="false" --target_file="$config"
|
||||
else
|
||||
then
|
||||
ynh_replace_string --match_string="__SIGNUP__" --replace_string="true" --target_file="$config"
|
||||
fi
|
||||
# Enable or disable two factor authentication support for users
|
||||
|
@ -161,7 +159,6 @@ if [ $two_factor -eq 1 ]
|
|||
then
|
||||
ynh_replace_string --match_string="__TWO_FACTOR__" --replace_string="true" --target_file="$config"
|
||||
else
|
||||
then
|
||||
ynh_replace_string --match_string="__TWO_FACTOR__" --replace_string="false" --target_file="$config"
|
||||
fi
|
||||
|
||||
|
|
|
@ -168,11 +168,11 @@ ynh_replace_string --match_string="yunomail" --replace_string="$email" -
|
|||
ynh_replace_string --match_string="yunodomain" --replace_string="$domain" --target_file="$config"
|
||||
ynh_replace_string --match_string="language" --replace_string="$language" --target_file="$config"
|
||||
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$config"
|
||||
# Enable or disable DAV support for users
|
||||
if [ $dav_support -eq 0 ]
|
||||
then
|
||||
ynh_replace_string --match_string="__DAV__" --replace_string="false" --target_file="$config"
|
||||
else
|
||||
then
|
||||
ynh_replace_string --match_string="__DAV__" --replace_string="true" --target_file="$config"
|
||||
fi
|
||||
# Enable or disable signup for public users
|
||||
|
@ -180,7 +180,6 @@ if [ $signup -eq 1 ]
|
|||
then
|
||||
ynh_replace_string --match_string="__SIGNUP__" --replace_string="false" --target_file="$config"
|
||||
else
|
||||
then
|
||||
ynh_replace_string --match_string="__SIGNUP__" --replace_string="true" --target_file="$config"
|
||||
fi
|
||||
# Enable or disable two factor authentication support for users
|
||||
|
@ -188,7 +187,6 @@ if [ $two_factor -eq 1 ]
|
|||
then
|
||||
ynh_replace_string --match_string="__TWO_FACTOR__" --replace_string="true" --target_file="$config"
|
||||
else
|
||||
then
|
||||
ynh_replace_string --match_string="__TWO_FACTOR__" --replace_string="false" --target_file="$config"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue