1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/release/scripts/dict-make.sh

19 lines
468 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# 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 -xpf - -C ${RD}/trees/dict/usr/share/dict &&
rm -rf ${RD}/trees/bin/usr/share/dict;
fi
for i in airport birthtoken flowers inter.phone 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