mirror of
https://github.com/limosek/zaf.git
synced 2024-11-13 05:59:06 +01:00
zaf_options are always generated on install, not added
This commit is contained in:
parent
ee06971e3a
commit
83eae36198
@ -125,7 +125,7 @@ zaf_configure_agent() {
|
||||
local value
|
||||
|
||||
zaf_install_dir "$ZAF_AGENT_CONFIGD"
|
||||
zaf_touch "$ZAF_AGENT_CONFIGD/zaf_options.conf" || zaf_err "Cannot access $ZAF_AGENT_CONFIGD/zaf_options.conf"
|
||||
echo -n >"$ZAF_AGENT_CONFIGD/zaf_options.conf" || zaf_err "Cannot access $ZAF_AGENT_CONFIGD/zaf_options.conf"
|
||||
for pair in "$@"; do
|
||||
echo $pair | grep -q '^Z\_' || continue # Skip non Z_ vars
|
||||
option=$(echo $pair|cut -d '=' -f 1|cut -d '_' -f 2)
|
||||
|
Loading…
Reference in New Issue
Block a user