summaryrefslogtreecommitdiff
path: root/debian/iptables-rrdtool.postinst
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.postinst
parent326d9f4a7a1685d04d1f6b5fb3402bca2d23d4df (diff)
downloadiptables-rrdtool-master.tar.gz
iptables-rrdtool-master.zip
fix install/purge hooksHEADmaster
Diffstat (limited to 'debian/iptables-rrdtool.postinst')
-rw-r--r--debian/iptables-rrdtool.postinst18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/iptables-rrdtool.postinst b/debian/iptables-rrdtool.postinst
new file mode 100644
index 0000000..43ed155
--- /dev/null
+++ b/debian/iptables-rrdtool.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+
+ configure)
+
+ if ! [ -d /var/lib/iptables-rrdtool ]; then
+ mkdir -p /var/lib/iptables-rrdtool
+ fi
+
+ ;;
+
+ *)
+ ;;
+
+esac