[pve-devel] [PATCH firewall 5/6] debian: remove duplicate dh_systemd_enable code

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Mar 8 13:33:55 CET 2018


dh_systemd_enable already includes this snippet via the #DEBHELPER#
stanza, no need to duplicate it manually.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 debian/postinst | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 0e6b7b2..8cdb468 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -6,9 +6,6 @@ set -e
 
 case "$1" in
     configure)
-	# Remove masks created by dh_systemd_enable on package removal.
-	deb-systemd-helper unmask pve-firewall.service >/dev/null || true
-
 	# modeled after dh_systemd_start output
 	systemctl --system daemon-reload >/dev/null || true
 	if [ -n "$2" ]; then
-- 
2.14.2





More information about the pve-devel mailing list