freebsd-skq/release/scripts/dict-make.sh
1997-06-29 06:23:14 +00:00

16 lines
459 B
Bash
Executable File

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