From c9b9fefd4b1c976b95cb8c9ff7ae1ba7a880aa7e Mon Sep 17 00:00:00 2001 From: bol-van Date: Fri, 20 Sep 2024 10:10:39 +0300 Subject: [PATCH] installer: fix writing new config vars with spaces --- common/installer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/installer.sh b/common/installer.sh index ef5c069..57d7cdf 100644 --- a/common/installer.sh +++ b/common/installer.sh @@ -500,6 +500,7 @@ write_config_var() fi else # var does not exist in config. add it + contains "$M" " " && M="\"$M\"" if [ -n "$M" ]; then echo "$1=$M" >>"$ZAPRET_CONFIG" else