From: janw Date: Wed, 16 Jan 2008 14:18:13 +0000 (+0000) Subject: Events should get the right use statement too. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4e0d8b80d940e9d759addecf2909a2ec53d420b5;p=gosa.git Events should get the right use statement too. Corrected typo. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8398 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/debian/rules b/gosa-si/debian/rules index ffc26f2c1..f54d5592a 100755 --- a/gosa-si/debian/rules +++ b/gosa-si/debian/rules @@ -37,7 +37,7 @@ install-stamp: done -find debian/tmp -name '*.svn' -type d -exec rm -rf {} \; 2> /dev/null - -for i in gosa-si-client gosa-si-server modules/GosaPackages.pm modules/ServerPackages.pm modules/TestModule.pm; do sed -i 's/use GosaSupportDaemon;/use GOSA::GosaSupportDaemon;/g;s/use DBsqlite;/use GOSA::DBsqlite;/g' debian/tmp/$$i; done + -for i in gosa-si-client gosa-si-server modules/GosaPackages.pm modules/ServerPackages.pm modules/TestModule.pm server/events/*; do sed -i 's/use GosaSupportDaemon;/use GOSA::GosaSupportDaemon;/g;s/use DBsqlite;/use GOSA::DBsqlite;/g' debian/tmp/$$i; done -sed -i 's!"/etc/gosa-si/modules";!use lib "/usr/lib/gosa-si/modules";!g' debian/tmp/gosa-si-server diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index bd23dcd54..2e9fc52d7 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -971,7 +971,7 @@ sub process_incoming_msg { my $header = @{$msg_hash->{header}}[0]; - daemon_log("recieve '$header' from $host", 1); + daemon_log("receive '$header' from $host", 1); # daemon_log("header from msg:", 1); # daemon_log("\t$header", 1); # daemon_log("msg to process:", 7); diff --git a/gosa-si/modules/GosaPackages.pm b/gosa-si/modules/GosaPackages.pm index 73dd6b26c..ffc99840c 100644 --- a/gosa-si/modules/GosaPackages.pm +++ b/gosa-si/modules/GosaPackages.pm @@ -316,7 +316,7 @@ sub process_incoming_msg { my $header = @{$msg_hash->{header}}[0]; - &main::daemon_log("GosaPackages: recieve '$header' from $host", 1); + &main::daemon_log("GosaPackages: receive '$header' from $host", 1); my $out_msg; if ($header =~ /^job_/) { diff --git a/gosa-si/modules/ServerPackages.pm b/gosa-si/modules/ServerPackages.pm index 1aa8db2a8..80b34bb16 100644 --- a/gosa-si/modules/ServerPackages.pm +++ b/gosa-si/modules/ServerPackages.pm @@ -3,7 +3,7 @@ package ServerPackages; use Exporter; @ISA = ("Exporter"); -# Each module has to have a function 'process_incoming_msg'. This function works as a interface to gosa-sd and recieves the msg hash from gosa-sd. 'process_incoming_function checks, wether it has a function to process the incoming msg and forward the msg to it. +# Each module has to have a function 'process_incoming_msg'. This function works as a interface to gosa-sd and receives the msg hash from gosa-sd. 'process_incoming_function checks, wether it has a function to process the incoming msg and forward the msg to it. use strict; @@ -442,7 +442,7 @@ sub process_incoming_msg { my $header = @{$msg_hash->{header}}[0]; my $source = @{$msg_hash->{source}}[0]; - &main::daemon_log("recieve '$header' at ServerPackages from $host", 1); + &main::daemon_log("receive '$header' at ServerPackages from $host", 1); &main::daemon_log("ServerPackages: msg to process: \n$msg", 7); my @targets = @{$msg_hash->{target}};