summaryrefslogtreecommitdiffstats
path: root/debian/redis-server.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:31:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:31:02 +0000
commit3f0e321b489e2eb1de700d20b850d5a43aecf769 (patch)
tree2e1bf6a66273dce009ed7f1f08dfb5bb9424bc80 /debian/redis-server.postrm
parentAdding upstream version 5:7.0.15. (diff)
downloadredis-3f0e321b489e2eb1de700d20b850d5a43aecf769.tar.xz
redis-3f0e321b489e2eb1de700d20b850d5a43aecf769.zip
Adding debian version 5:7.0.15-1~deb12u1.debian/5%7.0.15-1_deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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