diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/fswarn.postinst | 18 | ||||
-rw-r--r-- | debian/iptables-rrdtool.postinst | 18 | ||||
-rw-r--r-- | debian/iptables-rrdtool.postrm (renamed from debian/fswarn.postrm) | 0 |
3 files changed, 18 insertions, 18 deletions
diff --git a/debian/fswarn.postinst b/debian/fswarn.postinst deleted file mode 100644 index a22b368..0000000 --- a/debian/fswarn.postinst +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -set -e - -case "$1" in - - configure) - - if [ "$2" = "" ]; then - mkdir /var/lib/iptables-rrdtool || true - fi - - ;; - - *) - ;; - -esac 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 diff --git a/debian/fswarn.postrm b/debian/iptables-rrdtool.postrm index f7b1a11..f7b1a11 100644 --- a/debian/fswarn.postrm +++ b/debian/iptables-rrdtool.postrm |