projects
/
pve-firewall.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #1446: allow pve-firewall package install twice in a row
[pve-firewall.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index e611f47de28c1543441475f6b833403085e1dd3b..40771833bab8ad1898c16c47c96af0ecfd9d99e2 100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-4,6
+4,8
@@
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
systemctl reload-or-restart pve-firewall
;;