File: libwrap0.postrm

package info (click to toggle)
tcp-wrappers 7.6.q-28
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,760 kB
  • sloc: ansic: 17,677; makefile: 1,868; sh: 53
file content (8 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
#!/bin/sh -e

if [ "$1" = "purge" ] && \
   [ "$(dpkg-query --show libwrap0 2> /dev/null | wc -l)" = 1 ]; then
  rm -f /etc/hosts.allow /etc/hosts.deny
fi

#DEBHELPER#