generate-ldif: detect installed packages even if "held" by APT
This commit is contained in:
parent
4461281945
commit
40160e0c6e
|
@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
|
|||
* elasticsearch: add http.publish_host variable
|
||||
* evoacme: disable old certbot cron also in cron.daily
|
||||
* evolinux-base: add mail related aliases
|
||||
* generate-ldif: detect installed packages even if "held" by APT
|
||||
* java: support for Oracle JRE
|
||||
* kibana: log messages go to /var/log/kibana/kibana.log
|
||||
* metricbeat: add a role (copied from filebeat)
|
||||
|
|
|
@ -6,7 +6,7 @@ if [ $(id -u) != 0 ]; then
|
|||
fi
|
||||
|
||||
is_pkg_installed() {
|
||||
dpkg -l "$1" 2>/dev/null | grep -q '^ii'
|
||||
dpkg -l "$1" 2>/dev/null | grep -q -E '^(i|h)i'
|
||||
}
|
||||
|
||||
get_pkg_version() {
|
||||
|
|
Loading…
Reference in a new issue