]> git.donarmstrong.com Git - roundcube.git/commitdiff
Do index upgrade when version is older than 0.5.1+dfsg-2
authorVincent Bernat <bernat@debian.org>
Wed, 16 Feb 2011 07:53:57 +0000 (07:53 +0000)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 19:32:27 +0000 (21:32 +0200)
debian/roundcube-core.postinst

index e574daeb58fa37b7e3d70bc947aaa17255c330cd..64bdf5d8a2192883e81cdefb693787177bc91af8 100644 (file)
@@ -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