#! /bin/sh /usr/share/dpatch/dpatch-run
## ConfigDefs.pl.dpatch by Simon Walter <simon.walter@hp-factory.de>
##
## DP: debian modification for mailscanners default config 

@DPATCH@
diff -urNad mailscanner-4.74.15~/lib/MailScanner/ConfigDefs.pl mailscanner-4.74.15/lib/MailScanner/ConfigDefs.pl
--- mailscanner-4.74.15~/lib/MailScanner/ConfigDefs.pl	2009-01-10 19:43:30.000000000 +0100
+++ mailscanner-4.74.15/lib/MailScanner/ConfigDefs.pl	2009-01-10 19:44:47.000000000 +0100
@@ -282,7 +282,7 @@
 # These should be checked for dir existence
 [Simple,Dir]
 incomingworkdir		/var/spool/MailScanner/incoming
-lockfiledir		/var/spool/MailScanner/incoming/Locks
+lockfiledir		/var/lock/subsys/MailScanner/
 
 # Check the first word of these for file existence
 [Simple,File]
