]> git.pld-linux.org Git - packages/eggdrop.git/commitdiff
- was: eggdrop1.6.13-autobotchk.patch (renamed && updated)
authorAdam Gołębiowski <adamg@pld-linux.org>
Tue, 6 May 2003 13:40:54 +0000 (13:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eggdrop-autobotchk.patch -> 1.1

eggdrop-autobotchk.patch [new file with mode: 0644]

diff --git a/eggdrop-autobotchk.patch b/eggdrop-autobotchk.patch
new file mode 100644 (file)
index 0000000..a0f5302
--- /dev/null
@@ -0,0 +1,29 @@
+diff -urN eggdrop1.6.15/scripts/autobotchk eggdrop1.6.15-autobotchk/scripts/autobotchk
+--- eggdrop1.6.15/scripts/autobotchk   Mon May  5 00:05:32 2003
++++ eggdrop1.6.15-autobotchk/scripts/autobotchk        Tue May  6 15:38:37 2003
+@@ -99,7 +99,7 @@
+ 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 @@
+ 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]} {
This page took 0.29852 seconds and 4 git commands to generate.