Fold NMU into Debian packaging.

This commit is contained in:
Simon Kelley
2021-03-30 22:42:29 +01:00
parent dfb1f7ccf1
commit 1bdbea2461
4 changed files with 19 additions and 2 deletions

3
debian/postrm vendored
View File

@@ -1,6 +1,9 @@
#!/bin/sh
set -e
# /usr/share/doc/dnsmasq was a symlink in versions < 2.81-1 (see #985282)
dpkg-maintscript-helper symlink_to_dir /usr/share/doc/dnsmasq dnsmasq-base 2.81-1~ dnsmasq -- "$@"
if [ purge = "$1" ]; then
update-rc.d dnsmasq remove >/dev/null
fi