From 4788afd896cec7597a54263206f672b69bf462cf Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Sat, 13 Feb 2010 10:20:58 +0000 Subject: Add missing file --- debian/conntrackd.postrm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 debian/conntrackd.postrm 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# -- cgit v1.2.3