mirror of
https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git
synced 2024-09-03 19:46:01 +02:00
syntax shell elif
This commit is contained in:
parent
428f7a8b17
commit
6f8acf1fad
1 changed files with 2 additions and 1 deletions
|
@ -317,7 +317,8 @@ ynh_replace_string --match_string="uri: mautrix-whatsapp.db" --replace_string="u
|
|||
if [ $botusers -eq "domain" ]
|
||||
then
|
||||
ynh_replace_string --match_string="example.com" --replace_string="$server_name" --target_file="$final_path/config.yaml"
|
||||
else if [ $botusers -eq "admin" ]
|
||||
elif [ $botusers -eq "admin" ]
|
||||
then
|
||||
ynh_replace_string --match_string="example.com" --replace_string="" --target_file="$final_path/config.yaml"
|
||||
else
|
||||
ynh_replace_string --match_string="example.com" --replace_string="$botusers" --target_file="$final_path/config.yaml"
|
||||
|
|
Loading…
Add table
Reference in a new issue