1
0
mirror of https://github.com/limosek/zaf.git synced 2024-11-14 14:39:06 +01:00

Repaired dependency checking on debian

This commit is contained in:
Lukas Macura 2016-12-11 14:59:28 +01:00
parent 26d9d0ab55
commit 41d6d508f0

View File

@ -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
}