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

11
debian/dnsmasq-base.postrm vendored Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
if [ purge = "$1" ]; then
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