1997-11-06 00:12:19 +00:00
|
|
|
*** Count-install.orig Tue Oct 21 02:08:46 1997
|
|
|
|
--- Count-install Thu Nov 6 00:55:09 1997
|
1996-05-16 20:43:59 +00:00
|
|
|
***************
|
|
|
|
*** 193,199 ****
|
|
|
|
|
|
|
|
if [ .$answer = . ]
|
|
|
|
then
|
|
|
|
! answer=x
|
|
|
|
fi
|
|
|
|
until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
|
|
|
|
do
|
|
|
|
--- 193,199 ----
|
|
|
|
|
|
|
|
if [ .$answer = . ]
|
|
|
|
then
|
|
|
|
! answer=y
|
|
|
|
fi
|
|
|
|
until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
|
|
|
|
do
|
|
|
|
***************
|
|
|
|
*** 233,239 ****
|
|
|
|
read answer
|
|
|
|
if [ .$answer = . ]
|
|
|
|
then
|
|
|
|
! answer=x
|
|
|
|
fi
|
|
|
|
until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
|
|
|
|
do
|
|
|
|
--- 233,239 ----
|
|
|
|
read answer
|
|
|
|
if [ .$answer = . ]
|
|
|
|
then
|
|
|
|
! answer=y
|
|
|
|
fi
|
|
|
|
until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
|
|
|
|
do
|
|
|
|
***************
|
|
|
|
*** 252,262 ****
|
|
|
|
###
|
|
|
|
# enter user id -starts
|
|
|
|
###
|
|
|
|
! echo $n "*Enter user id of httpd's child process [no default]:$c? "
|
|
|
|
read answer
|
|
|
|
if [ .$answer = . ]
|
|
|
|
then
|
|
|
|
! answer=x
|
|
|
|
fi
|
|
|
|
until [ $answer != "x" ]
|
|
|
|
do
|
|
|
|
--- 252,262 ----
|
|
|
|
###
|
|
|
|
# enter user id -starts
|
|
|
|
###
|
|
|
|
! echo $n "*Enter user id of httpd's child process [nobody]:$c? "
|
|
|
|
read answer
|
|
|
|
if [ .$answer = . ]
|
|
|
|
then
|
|
|
|
! answer=nobody
|
|
|
|
fi
|
|
|
|
until [ $answer != "x" ]
|
|
|
|
do
|
|
|
|
***************
|
|
|
|
*** 276,286 ****
|
|
|
|
##
|
|
|
|
# enter groud id -starts
|
|
|
|
##
|
|
|
|
! echo $n "*Enter group id of httpd's child process [no default]:$c? "
|
|
|
|
read answer
|
|
|
|
if [ .$answer = . ]
|
|
|
|
then
|
|
|
|
! answer=x
|
|
|
|
fi
|
|
|
|
until [ $answer != "x" ]
|
|
|
|
do
|
|
|
|
--- 276,286 ----
|
|
|
|
##
|
|
|
|
# enter groud id -starts
|
|
|
|
##
|
1997-01-02 16:51:08 +00:00
|
|
|
! echo $n "*Enter group id of httpd's child process [nogroup]:$c? "
|
1996-05-16 20:43:59 +00:00
|
|
|
read answer
|
|
|
|
if [ .$answer = . ]
|
|
|
|
then
|
1997-01-02 16:51:08 +00:00
|
|
|
! answer=nogroup
|
1996-05-16 20:43:59 +00:00
|
|
|
fi
|
|
|
|
until [ $answer != "x" ]
|
|
|
|
do
|
|
|
|
***************
|
1997-11-06 00:12:19 +00:00
|
|
|
*** 323,336 ****
|
|
|
|
echo
|
|
|
|
fi
|
1996-09-06 14:18:28 +00:00
|
|
|
|
|
|
|
! echo "installing rgb.txt->$BASE_DIR"
|
|
|
|
! $INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $Rgbfile $BASE_DIR/rgb.txt
|
|
|
|
|
|
|
|
! echo "creating Log directory $LOG_DIR"
|
|
|
|
! ./mkdirhier $LOG_DIR
|
|
|
|
! chown $UserId $LOG_DIR
|
|
|
|
! chgrp $GroupId $LOG_DIR
|
|
|
|
! chmod 775 $LOG_DIR
|
|
|
|
|
|
|
|
echo "installing image strip for digit style A->$DIGIT_DIR/A"
|
|
|
|
$INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $DigitA/strip.gif\
|
1997-11-06 00:12:19 +00:00
|
|
|
--- 323,335 ----
|
|
|
|
echo
|
|
|
|
fi
|
1996-09-06 14:18:28 +00:00
|
|
|
|
|
|
|
! echo "installing rgb.txt->$RGB_DIR"
|
|
|
|
! $INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $Rgbfile $RGB_DIR/rgb.txt
|
|
|
|
|
|
|
|
! echo "installing $LOG_FILE->$LOG_DIR"
|
|
|
|
! touch $LOG_DIR/$LOG_FILE
|
|
|
|
! chmod 644 $LOG_DIR/$LOG_FILE
|
|
|
|
! chown $UserId.$GroupId $LOG_DIR/$LOG_FILE
|
|
|
|
|
|
|
|
echo "installing image strip for digit style A->$DIGIT_DIR/A"
|
|
|
|
$INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $DigitA/strip.gif\
|
|
|
|
***************
|
1997-11-06 00:12:19 +00:00
|
|
|
*** 362,367 ****
|
|
|
|
--- 361,368 ----
|
1996-09-06 14:18:28 +00:00
|
|
|
#chown -R $UserId.$GroupId $BASE_DIR
|
|
|
|
find $BASE_DIR -exec chown $UserId {} \;
|
|
|
|
find $BASE_DIR -exec chgrp $GroupId {} \;
|
|
|
|
+ find $LIB_DIR -exec chown $UserId {} \;
|
|
|
|
+ find $LIB_DIR -exec chgrp $GroupId {} \;
|
|
|
|
# echo "UserId=$UserId"
|
|
|
|
# echo "GroupId=$GroupId"
|
|
|
|
;;
|
1996-05-16 20:43:59 +00:00
|
|
|
***************
|
1997-11-06 00:12:19 +00:00
|
|
|
*** 376,392 ****
|
1996-05-16 20:43:59 +00:00
|
|
|
|
|
|
|
EOM
|
|
|
|
echo "installing Count.cgi->$CGIBIN_DIR"
|
|
|
|
! $INSTALL_PROG -c -m 755 ./Count.cgi $CGIBIN_DIR/Count.cgi
|
|
|
|
echo "installing $CONFIG_FILE->$CONFIG_DIR"
|
|
|
|
$INSTALL_PROG -c $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE
|
|
|
|
echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR"
|
1996-09-06 14:18:28 +00:00
|
|
|
$INSTALL_PROG -c $SAMPLE_DAT $DATA_DIR/sample.dat
|
|
|
|
|
|
|
|
! echo "installing rgb.txt->$BASE_DIR"
|
|
|
|
! $INSTALL_PROG -c $Rgbfile $BASE_DIR/rgb.txt
|
|
|
|
|
|
|
|
! echo "creating Log directory $LOG_DIR"
|
|
|
|
! ./mkdirhier $LOG_DIR
|
|
|
|
|
|
|
|
echo "installing image strip for digit style A->$DIGIT_DIR/A"
|
|
|
|
$INSTALL_PROG -c $DigitA/strip.gif $DIGIT_DIR/A/strip.gif
|
1997-11-06 00:12:19 +00:00
|
|
|
--- 377,394 ----
|
1996-05-16 20:43:59 +00:00
|
|
|
|
|
|
|
EOM
|
|
|
|
echo "installing Count.cgi->$CGIBIN_DIR"
|
|
|
|
! $INSTALL_PROG -s -c -m 755 ./Count.cgi $CGIBIN_DIR/Count.cgi
|
|
|
|
echo "installing $CONFIG_FILE->$CONFIG_DIR"
|
|
|
|
$INSTALL_PROG -c $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE
|
|
|
|
echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR"
|
1996-09-06 14:18:28 +00:00
|
|
|
$INSTALL_PROG -c $SAMPLE_DAT $DATA_DIR/sample.dat
|
|
|
|
|
|
|
|
! echo "installing rgb.txt->$RGB_DIR"
|
|
|
|
! $INSTALL_PROG -c $Rgbfile $RGB_DIR/rgb.txt
|
|
|
|
|
|
|
|
! echo "installing $LOG_FILE->$LOG_DIR"
|
|
|
|
! touch $LOG_DIR/$LOG_FILE
|
|
|
|
! chmod 644 $LOG_DIR/$LOG_FILE
|
|
|
|
|
|
|
|
echo "installing image strip for digit style A->$DIGIT_DIR/A"
|
|
|
|
$INSTALL_PROG -c $DigitA/strip.gif $DIGIT_DIR/A/strip.gif
|