Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
b2c501f1
Commit
b2c501f1
authored
Sep 08, 2019
by
Paul Cammish
Browse files
Update postinst
parent
0765f38c
Changes
1
Hide whitespace changes
Inline
Side-by-side
firewall/debian/postinst
View file @
b2c501f1
...
@@ -22,12 +22,15 @@ update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
...
@@ -22,12 +22,15 @@ update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
#DEBHELPER#
#DEBHELPER#
if
[
-f
/etc/incron.d/sympl-firewall]
;
then
# Remove old incrond support
if
[
-f
/etc/incron.d/sympl-firewall
]
;
then
rm
/etc/incron.d/sympl-firewall
rm
/etc/incron.d/sympl-firewall
fi
fi
if
[
-f
/etc/sympl/monit.d/incrond
]
;
then
if
[
-f
/etc/sympl/monit.d/incrond]
;
then
rm
/etc/sympl/monit.d/incrond
rm
/etc/sympl/monit.d/incrond
fi
fi
if
[
-f
/usr/share/sympl/monit/checks/incrond
]
;
then
rm
/etc/incron.d/sympl-firewall
fi
exit
0
exit
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment