=================================================================== RCS file: /cvs/openbsd/fill_chroot/fill_chroot,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- openbsd/fill_chroot/fill_chroot 2011/08/09 01:13:54 1.18 +++ openbsd/fill_chroot/fill_chroot 2011/08/16 02:10:46 1.19 @@ -1,5 +1,5 @@ #!/bin/sh -# $AFresh1: fill_chroot,v 1.16 2010/01/11 21:16:33 andrew Exp $ +# $AFresh1: fill_chroot,v 1.18 2011/08/09 00:13:54 andrew Exp $ CHROOT=${CHROOT:=/home/andrew/www} CHROOT=`echo $CHROOT | sed -e 's,/*$,,'` @@ -79,13 +79,20 @@ _find="${_find} -o -name speedy*" fi -if [ -e ${CHROOT}/usr/bin/cvs ]; then +if [ -e ${CHROOT}/cgi-bin/cvsweb ]; then + echo Installing cvsweb depends + for _f in \ + /usr/bin/{co,cvs,diff,perl,rcsdiff,rlog,uname} \ + ; do + echo pax -r -w -L -p e $_f ${CHROOT} + pax -r -w -L -p e $_f ${CHROOT} + done + +elif [ -e ${CHROOT}/usr/bin/cvs ]; then _f=/usr/bin/cvs echo Installing cvs echo pax -r -w -L -p e $_f ${CHROOT} pax -r -w -L -p e $_f ${CHROOT} - - _find="${_find} -o -name cvs" fi _find="${_find} )"