From a86b0119f6d546f385c68d7bd9327cac0b1c4ecf Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 22 Mar 2005 19:21:19 +0000 Subject: [PATCH] Updated for v1.21.0 git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1391 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmupdate.pl.z | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/zmupdate.pl.z b/scripts/zmupdate.pl.z index b79c51853..06f678908 100755 --- a/scripts/zmupdate.pl.z +++ b/scripts/zmupdate.pl.z @@ -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'" );