mirror of
https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git
synced 2024-09-03 19:46:01 +02:00
wrong variable name
This commit is contained in:
parent
22f8cadb7d
commit
efbb80e583
1 changed files with 2 additions and 2 deletions
|
@ -271,13 +271,13 @@ ynh_replace_string --match_string="max_idle_conns: 2" --replace_string="max_idle
|
||||||
# "example.com": user
|
# "example.com": user
|
||||||
# "@admin:example.com": admin
|
# "@admin:example.com": admin
|
||||||
#ynh_replace_string --match_string=""*": relaybot" --replace_string=""*": relaybot" --target_file="$final_path/config.yaml"
|
#ynh_replace_string --match_string=""*": relaybot" --replace_string=""*": relaybot" --target_file="$final_path/config.yaml"
|
||||||
ynh_replace_string --match_string="@admin:example.com" --replace_string="$admin" --target_file="$final_path/config.yaml"
|
ynh_replace_string --match_string="@admin:example.com" --replace_string="$botadmin" --target_file="$final_path/config.yaml"
|
||||||
# Make app public if necessary
|
# Make app public if necessary
|
||||||
if [ $is_public -eq 1 ]
|
if [ $is_public -eq 1 ]
|
||||||
then
|
then
|
||||||
ynh_replace_string --match_string="example.com" --replace_string="domain" --target_file="$final_path/config.yaml"
|
ynh_replace_string --match_string="example.com" --replace_string="domain" --target_file="$final_path/config.yaml"
|
||||||
else
|
else
|
||||||
ynh_replace_string --match_string="example.com" --replace_string="$authorized" --target_file="$final_path/config.yaml"
|
ynh_replace_string --match_string="example.com" --replace_string="$botusers" --target_file="$final_path/config.yaml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# relaybot:
|
# relaybot:
|
||||||
|
|
Loading…
Add table
Reference in a new issue