forked from evolix/ansible-roles
evocheck: detect installed packages even if "held" by APT (manual fix)
This commit is contained in:
parent
40160e0c6e
commit
4d7e9b1c3f
|
@ -14,6 +14,7 @@ The **patch** part changes incrementally at each release.
|
|||
* elasticsearch: tmpdir configuration compatible with 5.x also
|
||||
* elasticsearch: add http.publish_host variable
|
||||
* evoacme: disable old certbot cron also in cron.daily
|
||||
* evocheck: detect installed packages even if "held" by APT (manual fix)
|
||||
* evolinux-base: add mail related aliases
|
||||
* generate-ldif: detect installed packages even if "held" by APT
|
||||
* java: support for Oracle JRE
|
||||
|
|
|
@ -143,7 +143,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