From 83eae36198247ef2e6e7f38e96fae4f64b041c10 Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Mon, 4 Apr 2016 16:58:39 +0200 Subject: [PATCH] zaf_options are always generated on install, not added --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 903353e..a57551c 100755 --- a/install.sh +++ b/install.sh @@ -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)