]> git.proxmox.com Git - pve-firewall.git/commitdiff
debian: remove duplicate dh_systemd_enable code
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 8 Mar 2018 12:33:55 +0000 (13:33 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 8 Mar 2018 12:51:05 +0000 (13:51 +0100)
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@proxmox.com>
debian/postinst

index 0e6b7b2603e9ad4fd11b02300d61ba013f320260..8cdb4681240596eaf0a7eea60194085fc56704b4 100644 (file)
@@ -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