Commit f9b7f91c authored by Noah Hilverling's avatar Noah Hilverling

IcingaDB-Redis: Do not remove icinga-redis dirs

parent edcca7d9
Pipeline #7879 passed with stages
in 5 minutes and 38 seconds
...@@ -7,7 +7,7 @@ CONFFILE="/etc/icinga-redis/icingadb-redis.conf" ...@@ -7,7 +7,7 @@ CONFFILE="/etc/icinga-redis/icingadb-redis.conf"
if [ "${1}" = "purge" ] if [ "${1}" = "purge" ]
then then
dpkg-statoverride --remove ${CONFFILE} || test $? -eq 2 dpkg-statoverride --remove ${CONFFILE} || test $? -eq 2
rm -rf /var/lib/icinga-redis /var/log/icinga-redis rm -rf /var/lib/icinga-redis/icingadb-redis
fi fi
#DEBHELPER# #DEBHELPER#
......
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