From 41d6d508f05b1ec4389b2bc8ed2c92d30bd24d26 Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Sun, 11 Dec 2016 14:59:28 +0100 Subject: [PATCH] Repaired dependency checking on debian --- lib/os.lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/os.lib.sh b/lib/os.lib.sh index bde51ba..719a791 100644 --- a/lib/os.lib.sh +++ b/lib/os.lib.sh @@ -158,7 +158,7 @@ zaf_install_agent_opkg() { # $* - packages zaf_check_deps_dpkg() { for i in $*; do - dpkg-query -f '${db:Status-Status},${Package}\n' -W $* 2>/dev/null | grep -q "^installed" + dpkg-query -f '${db:Status-Status},${Package}\n' -W $* 2>/dev/null | grep -qE "^(installed|^,)" done }