Patch for bug in zmupdate.pl.in

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
User avatar
Barry Jackson
Posts: 21
Joined: Wed Jun 30, 2010 8:11 pm

Patch for bug in zmupdate.pl.in

Post by Barry Jackson »

I am not a pearl programmer but this looks like a typo and breaks the updater - this patch fixes it.
It the same in 1.24.4.and 1.25.0

OK I give up - I add the patch as an attachment and it does not show anywhere in the post so here it is instead.

Code: Select all

--- scripts/zmupdate.pl.in_orig	2011-08-26 08:51:37.000000000 +0100
+++ scripts/zmupdate.pl.in	2011-09-27 00:40:53.212017379 +0100
@@ -420,7 +420,7 @@
         $command .= " ".ZM_DB_NAME." < ";
         if ( $updateDir )
         {
-            $command -= $updateDir;
+            $command .= $updateDir;
         }
         else
         {
Yes - I have donated!
User avatar
Barry Jackson
Posts: 21
Joined: Wed Jun 30, 2010 8:11 pm

Re: Patch for bug in zmupdate.pl.in

Post by Barry Jackson »

Note edit above
Yes - I have donated!
User avatar
nightcrawler
Posts: 71
Joined: Fri Aug 12, 2011 9:54 am
Location: the netherlands

Re: Patch for bug in zmupdate.pl.in

Post by nightcrawler »

barry,

You can't upload .txt, .sh etc files. please zip them and then they will show as an attachment.
Zoneminder @Ubuntu 11 server, ZM 1.25.0 , FFMPEG, 4 Analoge cameras, 1.6ghz P4mobile, 2GB ram, 60GB-HDD.
I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.
Post Reply