freebsd-dev/release/scripts/dict-make.sh
David E. O'Brien 01df2ec328 Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by:	jkh
2002-04-23 22:16:41 +00:00

19 lines
473 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# Move the dict stuff out to its own dist
if [ -d ${RD}/trees/base/usr/share/dict ]; then
tar -cf - -C ${RD}/trees/base/usr/share/dict . |
tar -xpf - -C ${RD}/trees/dict/usr/share/dict &&
rm -rf ${RD}/trees/base/usr/share/dict;
fi
for i in airport birthtoken flowers inter.phone na.phone zipcodes; do
if [ -f ${RD}/trees/base/usr/share/misc/$i ]; then
mv ${RD}/trees/base/usr/share/misc/$i \
${RD}/trees/dict/usr/share/misc;
fi;
done