Debian packaging fixes.

This commit is contained in:
Simon Kelley
2012-08-28 21:26:56 +01:00
parent 00acd06340
commit bc54ae392b
7 changed files with 50 additions and 36 deletions

6
debian/postrm vendored
View File

@@ -3,10 +3,4 @@ set -e
if [ purge = "$1" ]; then
update-rc.d dnsmasq remove >/dev/null
if [ -x "$(command -v deluser)" ]; then
deluser --quiet --system dnsmasq > /dev/null || true
else
echo >&2 "not removing dnsmasq system account because deluser command was not found"
fi
rm -rf /var/run/dnsmasq
fi