+roundcube (0.1~rc2-5) unstable; urgency=low
+
+ * Deal with old /etc/logrotate.d/roundcube by removing it if left
+ untouched (Closes: #456546). Also deal with /etc/default/roundcube and
+ /etc/cron.daily/roundcube.
+
+ -- Vincent Bernat <bernat@luffy.cx> Tue, 18 Dec 2007 23:02:46 +0100
+
roundcube (0.1~rc2-4) unstable; urgency=low
* Thightened dependencies for a safe upgrade
--- /dev/null
+# This file conflicts with /etc/cron.daily/roundcube-core. If you have
+# modified it, report your modifications to
+# /etc/cron.daily/roundcube-core. If this file is left empty or
+# untouched, it will be deleted.
+
+# If you leave the following marker, this file will be deleted during
+# the next upgrade:
+# 75321 DELETE 75321
--- /dev/null
+# This file conflicts with /etc/default/roundcube-core. If you have
+# modified it, report your modifications to
+# /etc/default/roundcube-core. If this file is left empty or
+# untouched, it will be deleted.
+
+# If you leave the following marker, this file will be deleted during
+# the next upgrade:
+# 75321 DELETE 75321
--- /dev/null
+# This file conflicts with /etc/logrotate.d/roundcube-core. If you
+# have modified it, report your modifications to
+# /etc/logrotate.d/roundcube-core. If this file is left empty or
+# untouched, it will be deleted.
+
+# If you leave the following marker, this file will be deleted during
+# the next upgrade:
+# 75321 DELETE 75321
--- /dev/null
+#!/bin/sh
+
+set -e
+
+# Handle old files that are not needed any more
+for OLD in /etc/logrotate.d/roundcube /etc/default/roundcube /etc/cron.daily/roundcube; do
+ [ -f $OLD ] && {
+ if [ ! -s $OLD ]; then
+ rm $OLD
+ else
+ grep -q '^# 75321 DELETE 75321$' $OLD && rm $OLD
+ fi
+ }
+done
+
+#DEBHELPER#
+
+exit 0