mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
166 lines
4.2 KiB
Plaintext
166 lines
4.2 KiB
Plaintext
*** Count-install.orig Mon Nov 24 04:49:51 1997
|
|
--- Count-install Sat Nov 29 18:33:38 1997
|
|
***************
|
|
*** 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
|
|
##
|
|
! echo $n "*Enter group id of httpd's child process [nogroup]:$c? "
|
|
read answer
|
|
if [ .$answer = . ]
|
|
then
|
|
! answer=nogroup
|
|
fi
|
|
until [ $answer != "x" ]
|
|
do
|
|
***************
|
|
*** 323,336 ****
|
|
echo
|
|
fi
|
|
|
|
! 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\
|
|
--- 323,335 ----
|
|
echo
|
|
fi
|
|
|
|
! 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\
|
|
***************
|
|
*** 362,367 ****
|
|
--- 361,368 ----
|
|
#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"
|
|
;;
|
|
***************
|
|
*** 376,392 ****
|
|
|
|
EOM
|
|
echo "installing Count.cgi->$CGIBIN_DIR"
|
|
! $INSTALL_PROG -c -m 755 $Binary $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"
|
|
$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
|
|
--- 377,394 ----
|
|
|
|
EOM
|
|
echo "installing Count.cgi->$CGIBIN_DIR"
|
|
! $INSTALL_PROG -s -c -m 755 $Binary $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"
|
|
$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
|