mirror of
https://github.com/limosek/zaf.git
synced 2024-11-14 22:49:06 +01:00
Repaired dependency checking on debian
This commit is contained in:
parent
26d9d0ab55
commit
41d6d508f0
@ -158,7 +158,7 @@ zaf_install_agent_opkg() {
|
|||||||
# $* - packages
|
# $* - packages
|
||||||
zaf_check_deps_dpkg() {
|
zaf_check_deps_dpkg() {
|
||||||
for i in $*; do
|
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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user