mirror of
https://github.com/limosek/zaf.git
synced 2024-11-13 05:59:06 +01:00
Repaired dependency checking on older debian systems
This commit is contained in:
parent
2b41fc57a5
commit
6204eacd6a
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user