Skip to content

Commit

Permalink
Merge pull request #116 from knnniggett/zmupdate_newrelease
Browse files Browse the repository at this point in the history
Add 1.26.1 and 1.26.2 releases to zmupdate
  • Loading branch information
kylejohnson committed Sep 8, 2013
2 parents 0a9e63c + 8f3d95f commit 6c134f9
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions db/zm_update-1.26.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
--
-- This updates a 1.26.0 database to 1.26.1
--
-- No changes required
--

6 changes: 6 additions & 0 deletions db/zm_update-1.26.2.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
--
-- This updates a 1.26.1 database to 1.26.2
--
-- No changes required
--

14 changes: 14 additions & 0 deletions scripts/zmupdate.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c134f9

Please sign in to comment.