Commit b2c501f1 authored by Paul Cammish's avatar Paul Cammish

Update postinst

parent 0765f38c
Pipeline #698 canceled with stages
in 38 minutes and 17 seconds
......@@ -22,12 +22,15 @@ update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
#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
fi
if [ -f /etc/sympl/monit.d/incrond]; then
if [ -f /etc/sympl/monit.d/incrond ]; then
rm /etc/sympl/monit.d/incrond
fi
if [ -f /usr/share/sympl/monit/checks/incrond ]; then
rm /etc/incron.d/sympl-firewall
fi
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