From efbb80e58393ca809a57e1f1fb709b53f4792923 Mon Sep 17 00:00:00 2001 From: Gredin67 <35761345+Gredin67@users.noreply.github.com> Date: Wed, 15 Apr 2020 12:26:16 +0200 Subject: [PATCH] wrong variable name --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index dcafea2..25c0452 100755 --- a/scripts/install +++ b/scripts/install @@ -271,13 +271,13 @@ ynh_replace_string --match_string="max_idle_conns: 2" --replace_string="max_idle # "example.com": user # "@admin:example.com": admin #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 if [ $is_public -eq 1 ] then ynh_replace_string --match_string="example.com" --replace_string="domain" --target_file="$final_path/config.yaml" 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 # relaybot: