freebsd-src/release/scripts/dict-make.sh
2002-04-26 07:40:08 +00:00

19 lines
435 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 birthtoken flowers; 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