Debian packaging fixes.

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

No files matched your search

+11
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