From 7257cb5f9d5da326389faebc3b19583ea73587df Mon Sep 17 00:00:00 2001 From: stan Date: Tue, 8 Nov 2005 13:27:31 +0000 Subject: [PATCH] Removed backup option from zmupdate. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1580 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmupdate.pl.z | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/zmupdate.pl.z b/scripts/zmupdate.pl.z index 16c6a03ce..824ab9be3 100755 --- a/scripts/zmupdate.pl.z +++ b/scripts/zmupdate.pl.z @@ -285,6 +285,8 @@ if ( $version ) print( "Please ensure that ZoneMinder is stopped on your system prior to upgrading the database.\nPress enter to continue or ctrl-C to stop : " ); my $response = ; + if ( 0 ) + { print( "\nDo you wish to take a backup of your database prior to upgrading?\nThis may result in a large file if you have a lot of events.\nPress 'y' for a backup or 'n' to continue : " ); $response = ; @@ -331,6 +333,7 @@ if ( $version ) { die( "Unexpected response '$response'" ); } + } sub patchDB {