1
0
mirror of https://github.com/limosek/zaf.git synced 2025-11-01 18:17:37 +01:00

Repaired postinst and dpkg check

This commit is contained in:
Lukas Macura
2016-04-18 11:51:24 +02:00
parent a320c33d44
commit da87113b47
3 changed files with 11 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ zaf_install_agent_opkg() {
# $* - packages
zaf_check_deps_dpkg() {
for i in $*; do
dpkg-query -f '${Status},${Package}\n' -W $* 2>/dev/null | grep -q "^install ok"
dpkg-query -f '${Status},${Package}\n' -W $* 2>/dev/null | grep -q "^install ok installed"
done
}