Merge pull request #116 from knnniggett/zmupdate_newrelease
Add 1.26.1 and 1.26.2 releases to zmupdate
This commit is contained in:
commit
6c134f9b4b
|
@ -42,4 +42,6 @@ EXTRA_DIST = \
|
|||
zm_update-1.24.2.sql \
|
||||
zm_update-1.24.3.sql \
|
||||
zm_update-1.24.4.sql \
|
||||
zm_update-1.26.0.sql
|
||||
zm_update-1.26.0.sql \
|
||||
zm_update-1.26.1.sql \
|
||||
zm_update-1.26.2.sql
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
--
|
||||
-- This updates a 1.26.0 database to 1.26.1
|
||||
--
|
||||
-- No changes required
|
||||
--
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
--
|
||||
-- This updates a 1.26.1 database to 1.26.2
|
||||
--
|
||||
-- No changes required
|
||||
--
|
||||
|
|
@ -1025,6 +1025,20 @@ if ( $version )
|
|||
|
||||
$cascade = !undef;
|
||||
}
|
||||
if ( $cascade || $version eq "1.26.1" )
|
||||
{
|
||||
# Patch the database
|
||||
patchDB( $dbh, "1.26.1" );
|
||||
$cascade = !undef;
|
||||
}
|
||||
|
||||
if ( $cascade || $version eq "1.26.2" )
|
||||
{
|
||||
# Patch the database
|
||||
patchDB( $dbh, "1.26.2" );
|
||||
$cascade = !undef;
|
||||
}
|
||||
|
||||
if ( $cascade )
|
||||
{
|
||||
my $installed_version = ZM_VERSION;
|
||||
|
|
Loading…
Reference in New Issue