diff --git a/scripts/install b/scripts/install index 4d8589d..50a3bec 100755 --- a/scripts/install +++ b/scripts/install @@ -319,16 +319,16 @@ echo "domain" echo "admin" if [ "$botusers" = "domain" ] then -ynh_replace_string --match_string='"example.com": user' --replace_string='"$server_name": user' --target_file='$final_path/config.yaml' +ynh_replace_string --match_string='"example.com": user' --replace_string='"$server_name": user' --target_file="$final_path/config.yaml" elif [ "$botusers" = "admin" ] then -ynh_replace_string --match_string='"example.com": user' --replace_string='#"example.com": user' --target_file='$final_path/config.yaml' +ynh_replace_string --match_string='"example.com": user' --replace_string='#"example.com": user' --target_file="$final_path/config.yaml" else -ynh_replace_string --match_string='"example.com": user' --replace_string='"$botusers": user' --target_file='$final_path/config.yaml' +ynh_replace_string --match_string='"example.com": user' --replace_string='"$botusers": user' --target_file="$final_path/config.yaml" fi # "@admin:example.com": admin -ynh_replace_string --match_string='"@admin:example.com": admin' --replace_string='"$botadmin": admin' --target_file='$final_path/config.yaml' +ynh_replace_string --match_string='"@admin:example.com": admin' --replace_string='"$botadmin": admin' --target_file="$final_path/config.yaml" # relaybot: # # Whether or not relaybot support is enabled.