From: Vincent Bernat Date: Wed, 16 Feb 2011 07:53:57 +0000 (+0000) Subject: Do index upgrade when version is older than 0.5.1+dfsg-2 X-Git-Url: https://git.donarmstrong.com/?p=roundcube.git;a=commitdiff_plain;h=620857a6a896becc107d67e32f388b92e95a1fc1 Do index upgrade when version is older than 0.5.1+dfsg-2 --- diff --git a/debian/roundcube-core.postinst b/debian/roundcube-core.postinst index e574dae..64bdf5d 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) - if [ -n "$2" ] && dpkg --compare-versions "$2" le 0.5-2; then + if [ -n "$2" ] && dpkg --compare-versions "$2" le 0.5.1+dfsg-2; then db_get roundcube/dbconfig-upgrade || true if [ x"$RET" = x"true" ]; then # Ok, we may need to do some upgrade steps. Let's get