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/postinst 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 -- "$@"
# Code copied from dh_systemd_enable ----------------------
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask dnsmasq.service >/dev/null || true