From: Vincent Bernat Date: Tue, 8 Mar 2011 06:37:56 +0000 (+0100) Subject: Imported Debian patch 0.5.1+dfsg-6 X-Git-Url: https://git.donarmstrong.com/?p=roundcube.git;a=commitdiff_plain;h=5d44896a1af845d9b9fc0ab9e5b3708e94233496 Imported Debian patch 0.5.1+dfsg-6 --- 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 <