forked from evolix/evocheck
Evocheck detects installed packages even if they are "held" by APT.
This commit is contained in:
parent
38beacc87b
commit
87d98dc8d0
|
@ -144,7 +144,7 @@ is_pack_samba(){
|
|||
|
||||
is_installed(){
|
||||
for pkg in $*; do
|
||||
dpkg -l $pkg 2>/dev/null |grep -q ^ii || return 1
|
||||
dpkg -l $pkg 2>/dev/null | grep -q -E ^(i|h)i || return 1
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue