Files
server/var/lib/dpkg/info/libwrap0:amd64.postrm
2026-01-07 20:52:11 +01:00

9 lines
157 B
Bash
Executable File

#!/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