summaryrefslogtreecommitdiffstats
path: root/debian/corosync.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 17:01:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 17:01:25 +0000
commit118ef9d7c2944b014d01440ebef86f8aed8045d6 (patch)
tree5e757b39d2dfda3827d839f35f885bea810bcdce /debian/corosync.postrm
parentAdding upstream version 3.1.8. (diff)
downloadcorosync-118ef9d7c2944b014d01440ebef86f8aed8045d6.tar.xz
corosync-118ef9d7c2944b014d01440ebef86f8aed8045d6.zip
Adding debian version 3.1.8-1.debian/3.1.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/corosync.postrm')
-rw-r--r--debian/corosync.postrm10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/corosync.postrm b/debian/corosync.postrm
new file mode 100644
index 0000000..2aab8d7
--- /dev/null
+++ b/debian/corosync.postrm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = purge ]; then
+ rm -rf /var/lib/corosync
+ rm -rf /var/log/corosync
+fi
+
+#DEBHELPER#