Evocheck detects installed packages even if they are "held" by APT.

This commit is contained in:
Jérémy Lecour 2018-08-17 14:57:25 +02:00
parent 38beacc87b
commit 87d98dc8d0

View file

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