summaryrefslogtreecommitdiff
path: root/debian/iptables-rrdtool.postrm
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2025-05-19 13:10:34 -0700
committerJoe Rayhawk <jrayhawk@fairlystable.org>2025-05-19 13:10:34 -0700
commit5b1d3075e7a123761335bc196d38485fed7c90dd (patch)
tree45e7a143755c704e03f32c11524564fada5ce93e /debian/iptables-rrdtool.postrm
parent326d9f4a7a1685d04d1f6b5fb3402bca2d23d4df (diff)
downloadiptables-rrdtool-master.tar.gz
iptables-rrdtool-master.zip
fix install/purge hooksHEADmaster
Diffstat (limited to 'debian/iptables-rrdtool.postrm')
-rw-r--r--debian/iptables-rrdtool.postrm15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/iptables-rrdtool.postrm b/debian/iptables-rrdtool.postrm
new file mode 100644
index 0000000..f7b1a11
--- /dev/null
+++ b/debian/iptables-rrdtool.postrm
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+
+ purge)
+ rm -r /var/lib/iptables-rrdtool || true
+ ;;
+
+ *)
+ ;;
+
+esac
+