mirror of
https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git
synced 2024-09-03 19:46:01 +02:00
string comparator ==
This commit is contained in:
parent
49546c81c7
commit
53e104d1c8
1 changed files with 2 additions and 2 deletions
|
@ -314,10 +314,10 @@ ynh_replace_string --match_string="uri: mautrix-whatsapp.db" --replace_string="u
|
|||
# "*": relaybot
|
||||
#ynh_replace_string --match_string=""*": relaybot" --replace_string=""*": relaybot" --target_file="$final_path/config.yaml"
|
||||
# "example.com": user
|
||||
if [ $botusers -eq "domain" ]
|
||||
if [ $botusers == "domain" ]
|
||||
then
|
||||
ynh_replace_string --match_string='"example.com": user' --replace_string='"$server_name": user' --target_file='$final_path/config.yaml'
|
||||
elif [ $botusers -eq "admin" ]
|
||||
elif [ $botusers == "admin" ]
|
||||
then
|
||||
ynh_replace_string --match_string='"example.com": user' --replace_string='#"example.com": user' --target_file='$final_path/config.yaml'
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue