=================================================================== RCS file: /cvs/openbsd/fill_chroot/fill_chroot,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- openbsd/fill_chroot/fill_chroot 2006/07/20 01:42:59 1.6 +++ openbsd/fill_chroot/fill_chroot 2008/08/29 21:05:38 1.7 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver: fill_chroot,v 1.5 2006/07/18 02:47:35 andrew Exp $ +# $RedRiver: fill_chroot,v 1.6 2006/07/20 00:42:59 andrew Exp $ CHROOT=${CHROOT:=/home/andrew/www} export CHROOT @@ -17,7 +17,13 @@ echo " ${CHROOT}/usr/sbin/sendmail" fi -find ${CHROOT} -name *.so.* -or -name *.so | xargs find_depends | \ +if [ -e /usr/local/bin/aspell ]; then + mkdir -p ${CHROOT}/usr/local/bin/ + cp /usr/local/bin/aspell ${CHROOT}/usr/local/bin/aspell + _find="${_find} -or -name aspell" +fi + +find ${CHROOT}/usr -name *.so.* -or -name *.so ${_find} | xargs find_depends | \ sort -u | xargs -I {} pax -r -w -L -p e {} ${CHROOT} fix_ldconfig