mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-29 12:50:33 +05:00
installer: fix writing new config vars with spaces
This commit is contained in:
parent
1c162c0639
commit
c9b9fefd4b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user