Largely replace the Debian packaging with a new and much more up-to-date

Debhelper based version.
This commit is contained in:
Sven Geuer
2024-01-18 16:28:49 +00:00
committed by Simon Kelley
parent 34bbb7a1b8
commit cd93d15ab1
67 changed files with 1364 additions and 948 deletions

View File

@@ -2,10 +2,9 @@
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
userdel dnsmasq
rm -rf /run/dnsmasq
fi
#DEBHELPER#