Skip to content

Commit

Permalink
add libevent dependency + fix rsyslog.conf not found in postrm script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcoutadeur committed Oct 11, 2021
1 parent 79fdd95 commit 05466d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openldap-ltb/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Homepage: http://ltb-project.org

Package: openldap-ltb
Architecture: any
Depends: libc6 (>= 2.4), libltdl7, libsasl2-2, libwrap0 (>= 7.6-4~), coreutils (>= 4.5.1-1), perl (>> 5.8.0) | libmime-base64-perl, adduser, lsb-base (>= 3.2-13), openssl, bash-completion, procps
Depends: libc6 (>= 2.4), libltdl7, libsasl2-2, libwrap0 (>= 7.6-4~), coreutils (>= 4.5.1-1), perl (>> 5.8.0) | libmime-base64-perl, adduser, lsb-base (>= 3.2-13), openssl, bash-completion, procps, libevent-2.1-6 | libevent-2.1-7
Suggests: openldap-ltb-check-password, openldap-ltb-contrib-overlays
Description: OpenLDAP server with addons from the LDAP Tool Box project
OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
Expand Down
4 changes: 3 additions & 1 deletion openldap-ltb/debian/openldap-ltb.postrm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
set -e

# Remove syslog facility
sed -i '/local4\..*/d' /etc/rsyslog.conf
if [ -e "/etc/rsyslog.conf" ]; then
sed -i '/local4\..*/d' /etc/rsyslog.conf
fi

# clean remaining started when removing the service
if [ "$1" != "upgrade" ]; then
Expand Down

0 comments on commit 05466d6

Please sign in to comment.