From d832c6b37ce0cba5a2bc015b1c806ba6990c4253 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 8 Mar 2011 06:38:55 +0000 Subject: [PATCH] Handle incorrect upgrade from 0.3.1-6 when "changed" column already exists for table "identities". Closes: #617312. --- debian/changelog | 7 +++++++ debian/roundcube-core.postinst | 3 ++- debian/sql/mysql/0.5-1 | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index eb1d082..38d56ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +roundcube (0.5.1+dfsg-6) unstable; urgency=low + + * Handle incorrect upgrade from 0.3.1-6 when "changed" column already + exists for table "identities". Closes: #617312. + + -- Vincent Bernat Tue, 08 Mar 2011 07:37:56 +0100 + roundcube (0.5.1+dfsg-5) unstable; urgency=low * Don't use awk. Use plain shell to modify main.inc.php. diff --git a/debian/roundcube-core.postinst b/debian/roundcube-core.postinst index aed1d06..f033b52 100644 --- a/debian/roundcube-core.postinst +++ b/debian/roundcube-core.postinst @@ -40,7 +40,7 @@ case "$1" in configure) # We try to fix an incomplete upgrade (see #610725 and #613586) - if [ -n "$2" ] && dpkg --compare-versions "$2" le 0.5.1+dfsg-2; then + if [ -n "$2" ] && dpkg --compare-versions "$2" le 0.5.1+dfsg-5; then db_get roundcube/dbconfig-upgrade || true if [ x"$RET" = x"true" ]; then if [ x"$dbc_dbtype" = x"mysql" ]; then @@ -65,6 +65,7 @@ EOF cat <