Updated for v1.21.0

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1391 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-03-22 19:21:19 +00:00
parent 83f30ff19d
commit a86b0119f6
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
#
# ==========================================================================
#
# ZoneMinder WatchDog Script, $Date$, $Revision$
# ZoneMinder Update Script, $Date$, $Revision$
# Copyright (C) 2003, 2004, 2005 Philip Coombes
#
# This program is free software; you can redistribute it and/or
@ -387,6 +387,12 @@ if ( $version )
patchDB( $dbh, "1.20.0" );
$cascade = !undef;
}
if ( $cascade || $version eq "1.20.1" )
{
# Patch the database
patchDB( $dbh, "1.20.1" );
$cascade = !undef;
}
if ( !$cascade )
{
die( "Can't find upgrade from version '$version'" );