From 1267f89e5b0ceab58b6f1f8ccd552fc457d0812b Mon Sep 17 00:00:00 2001 From: mboelen Date: Fri, 19 Sep 2014 02:14:16 +0200 Subject: [PATCH] Added zgrep detection --- include/binaries | 1 + 1 file changed, 1 insertion(+) diff --git a/include/binaries b/include/binaries index 9421b37e..953dadab 100644 --- a/include/binaries +++ b/include/binaries @@ -162,6 +162,7 @@ vmtoolsd) VMWARETOOLSFOUND=1; VMWARETOOLSDBINARY="${BINARY}"; logtext " Found known binary: vmtoolsd (VMWare tools) - ${BINARY}" ;; wget) WGETFOUND=1; WGETBINARY="${BINARY}"; WGETVERSION=`${BINARY} -V | grep "^GNU Wget" | awk '{ print $3 }'`; logtext "Found ${BINARY} (version ${WGETVERSION})" ;; yum) YUMFOUND=1; YUMBINARY="${BINARY}"; logtext " Found known binary: yum (package manager) - ${BINARY}" ;; + zgrep) ZGREPFOUND=1; ZGREPBINARY=${BINARY}; logtext " Found known binary: zgrep (text search for compressed files) - ${BINARY}" ;; zypper) ZYPPERFOUND=1; ZYPPERBINARY="${BINARY}"; logtext " Found known binary: zypper (package manager) - ${BINARY}" ;; esac done