diff options
author | Alexander Wirt <formorer@debian.org> | 2010-02-13 10:20:58 +0000 |
---|---|---|
committer | Alexander Wirt <formorer@debian.org> | 2010-02-13 10:20:58 +0000 |
commit | 4788afd896cec7597a54263206f672b69bf462cf (patch) | |
tree | 75344097260e1e7a4554380ed65ab8f1e8b8cc98 | |
parent | 176206a9b5ee14900995d8f2ba77d77ab861b78e (diff) | |
download | conntrack-tools-4788afd896cec7597a54263206f672b69bf462cf.tar.gz conntrack-tools-4788afd896cec7597a54263206f672b69bf462cf.zip |
Add missing file
-rw-r--r-- | debian/conntrackd.postrm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/conntrackd.postrm b/debian/conntrackd.postrm new file mode 100644 index 0000000..4c29446 --- /dev/null +++ b/debian/conntrackd.postrm @@ -0,0 +1,19 @@ +#!/bin/sh +set -e + +action=$1 + +# package versions < 0.9.8-1 had the configuration file in a +# non-standard location +if [ "$action" = "abort-upgrade" ] && + [ -f /etc/conntrackd.conf.dpkg-updating ] +then + # unmodified version, restore + mv /etc/conntrackd.conf.dpkg-updating /etc/conntrackd.conf +fi + +if [ "$action" = "purge" ] ; then + rm -f /etc/conntrackd.conf.dpkg-updating +fi + +#DEBHELPER# |