[pkg-kolab] r794 - kolabconf/branches/2.2/debian/patches

mparent-guest at alioth.debian.org mparent-guest at alioth.debian.org
Sun Apr 13 12:56:37 UTC 2008


Author: mparent-guest
Date: 2008-04-13 12:56:36 +0000 (Sun, 13 Apr 2008)
New Revision: 794

Added:
   kolabconf/branches/2.2/debian/patches/95-runonchange.dpatch
Log:
Committed the patch


Added: kolabconf/branches/2.2/debian/patches/95-runonchange.dpatch
===================================================================
--- kolabconf/branches/2.2/debian/patches/95-runonchange.dpatch	                        (rev 0)
+++ kolabconf/branches/2.2/debian/patches/95-runonchange.dpatch	2008-04-13 12:56:36 UTC (rev 794)
@@ -0,0 +1,29 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 95-runonchange.dpatch by Mathieu Parent <math.parent at gmail.com>
+## 
+## DP: Fix RUNONCHANGE templace metadata
+## DP: See https://www.intevation.de/roundup/kolab/issue2550
+
+ at DPATCH@
+diff -urNad kolabconf-2.2~rc1+20080204~/lib/Kolab/Conf.pm kolabconf-2.2~rc1+20080204/lib/Kolab/Conf.pm
+--- kolabconf-2.2~rc1+20080204~/lib/Kolab/Conf.pm	2008-04-02 21:40:25.000000000 +0000
++++ kolabconf-2.2~rc1+20080204/lib/Kolab/Conf.pm	2008-04-02 21:45:19.000000000 +0000
+@@ -243,8 +243,8 @@
+ #} elsif ($cfg =~ /example/) {
+ 	    } else {
+ 		Kolab::log('T', "`$cfg' change detected ", KOLAB_DEBUG );
+-		$templatehaschanged{$tmpl} = 1;
+ 	    }
++	    $templatehaschanged{$tmpl} = 1;
+ 
+             Kolab::log('T', "`$cfg' change detected: $rc", KOLAB_DEBUG );
+         }
+@@ -675,7 +675,7 @@
+     foreach $key (keys %runonchange) {
+ 	if (defined $templatehaschanged{$key})
+ 	{
+-	    Kolab::log('T', 'Actioning RUNONCHANGE for $key', KOLAB_DEBUG );
++	    Kolab::log('T', 'Actioning RUNONCHANGE for '.$key, KOLAB_DEBUG );
+ 	    my $cmd = $runonchange{$key};
+ 	    system($cmd);
+ 	    Kolab::log('T', 'Executing command', KOLAB_DEBUG );


Property changes on: kolabconf/branches/2.2/debian/patches/95-runonchange.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-kolab-devel mailing list