summaryrefslogtreecommitdiffstats
path: root/debian/redis-server.postrm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/redis-server.postrm14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/redis-server.postrm b/debian/redis-server.postrm
new file mode 100644
index 0000000..8375368
--- /dev/null
+++ b/debian/redis-server.postrm
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -eu
+
+CONFFILE="/etc/redis/redis.conf"
+
+if [ "${1}" = "purge" ]
+then
+ dpkg-statoverride --remove ${CONFFILE} || test $? -eq 2
+fi
+
+#DEBHELPER#
+
+exit 0