SOURCES: eggdrop-vanilla-autobotchk.patch (NEW) - patch for eggdrop-vanilla
duddits
duddits at pld-linux.org
Mon Sep 22 17:03:58 CEST 2008
Author: duddits Date: Mon Sep 22 15:03:58 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch for eggdrop-vanilla
---- Files affected:
SOURCES:
eggdrop-vanilla-autobotchk.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/eggdrop-vanilla-autobotchk.patch
diff -u /dev/null SOURCES/eggdrop-vanilla-autobotchk.patch:1.1
--- /dev/null Mon Sep 22 17:03:59 2008
+++ SOURCES/eggdrop-vanilla-autobotchk.patch Mon Sep 22 17:03:53 2008
@@ -0,0 +1,29 @@
+diff -burNp eggdrop1.6.19/scripts/autobotchk eggdrop1.6.19.new/scripts/autobotchk
+--- eggdrop1.6.19/scripts/autobotchk 2003-04-15 19:41:57.000000000 +0200
++++ eggdrop1.6.19.new/scripts/autobotchk 2008-09-22 12:38:36.447797899 +0200
+@@ -99,7 +99,7 @@ set delay 10
+ set email 1
+
+ # If you renamed your eggdrop binary, you should change this variable
+-set binary "eggdrop"
++set binary "/usr/bin/eggdrop"
+
+ while {[set opt [newsplit argv]] != ""} {
+ switch -- $opt {
+@@ -143,16 +143,6 @@ if {[string match "*/scripts" $dir]} {
+
+ set dir [string trimright $dir /]
+
+-if {![file exists $dir/help] || ![file isdirectory $dir/help]} {
+- puts "*** ERROR: are you sure you are running from a bot directory?"
+- puts ""
+- exit
+-} elseif {![file exists $dir/$binary]} {
+- puts "*** ERROR: are you sure you are running from a bot directory?"
+- puts ""
+- exit
+-}
+-
+ puts -nonewline "Opening '$config' for processing ... "
+
+ if {[catch {open $dir/$config r} fd]} {
================================================================
More information about the pld-cvs-commit
mailing list