From d5a7a1849a6c40a5d7315a467119c059302ca4a9 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 29 Jul 2014 09:47:22 -0400 Subject: [PATCH] make zmupdate re-run the most recent update. --- scripts/zmupdate.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmupdate.pl.in b/scripts/zmupdate.pl.in index 569e7c47a..83502154c 100644 --- a/scripts/zmupdate.pl.in +++ b/scripts/zmupdate.pl.in @@ -1014,7 +1014,7 @@ if ( $version ) $dbh->{'AutoCommit'} = 0; foreach my $patch ( @files ) { my ( $v ) = $patch =~ /^zm_update\-([\d\.]+)\.sql$/; - if ( $v gt $version ) { + if ( $v ge $version ) { print( "Upgrading DB to $v from $version\n" ); patchDB( $dbh, $v ); if ( $dbh->errstr() ) {