Commit b2c501f1 authored by Paul Cammish's avatar Paul Cammish
Browse files

Update postinst

parent 0765f38c
...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment