summaryrefslogtreecommitdiff
path: root/www/wwwcount/files/patch-aa
blob: 65c95bb16fba05a25df1be284702db4885b61e48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
*** Count-config.orig	Fri May  3 06:20:27 1996
--- Count-config	Thu May 16 22:18:17 1996
***************
*** 20,26 ****
  trap 'echo '';echo "Interrupt Detected..exiting";rm -f "./Config.tmpl" 2>/dev/null;rm -f "./.alfcf" ;rm -f "./strict" 2>/dev/null;echo '';exit 1' 1 2 3 15
  
  Tmpl="./Config.tmpl"
! CgiBinDir="/usr/local/etc/httpd/cgi-bin"
  
  if [ ! -f "./VERSION" ] 
  then
--- 20,26 ----
  trap 'echo '';echo "Interrupt Detected..exiting";rm -f "./Config.tmpl" 2>/dev/null;rm -f "./.alfcf" ;rm -f "./strict" 2>/dev/null;echo '';exit 1' 1 2 3 15
  
  Tmpl="./Config.tmpl"
! CgiBinDir="${PREFIX}/www/cgi-bin"
  
  if [ ! -f "./VERSION" ] 
  then
***************
*** 36,42 ****
  Version=`cat ./VERSION`
  Basedir="wwwcount$Version"
  ConfigH="config.h"
! BaseDir="/usr/local/etc/Counter"
  ConfigDir="conf"
  ConfFile="count.cfg"
  DigitDir="digits"
--- 36,42 ----
  Version=`cat ./VERSION`
  Basedir="wwwcount$Version"
  ConfigH="config.h"
! BaseDir="${PREFIX}/etc/Counter"
  ConfigDir="conf"
  ConfFile="count.cfg"
  DigitDir="digits"
***************
*** 114,120 ****
  
  if [ .$answer = . ]
  then
!     answer=x
  fi
      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
      do
--- 114,120 ----
  
  if [ .$answer = . ]
  then
!     answer=y
  fi
      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
      do
***************
*** 302,308 ****
  
  if [ .$answer = . ]
  then
!     answer=x
  fi
      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
      do
--- 302,308 ----
  
  if [ .$answer = . ]
  then
!     answer=y
  fi
      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
      do