]> git.pld-linux.org Git - packages/eggdrop.git/blob - eggdrop-autobotchk.patch
- refresh config.sub
[packages/eggdrop.git] / eggdrop-autobotchk.patch
1 diff -urN eggdrop1.6.15/scripts/autobotchk eggdrop1.6.15-autobotchk/scripts/autobotchk
2 --- eggdrop1.6.15/scripts/autobotchk    Mon May  5 00:05:32 2003
3 +++ eggdrop1.6.15-autobotchk/scripts/autobotchk Tue May  6 15:38:37 2003
4 @@ -99,7 +99,7 @@
5  set email 1
6  
7  # If you renamed your eggdrop binary, you should change this variable
8 -set binary "eggdrop"
9 +set binary "/usr/bin/eggdrop"
10  
11  while {[set opt [newsplit argv]] != ""} {
12    switch -- $opt {
13 @@ -143,16 +143,6 @@
14  
15  set dir [string trimright $dir /]
16  
17 -if {![file exists $dir/help] || ![file isdirectory $dir/help]} {
18 -  puts "*** ERROR: are you sure you are running from a bot directory?"
19 -  puts ""
20 -  exit
21 -} elseif {![file exists $dir/$binary]} {
22 -  puts "*** ERROR: are you sure you are running from a bot directory?"
23 -  puts ""
24 -  exit
25 -}
26 -
27  puts -nonewline "Opening '$config' for processing ... "
28  
29  if {[catch {open $dir/$config r} fd]} {
This page took 0.021018 seconds and 3 git commands to generate.