opnsense-src/release/scripts/dict-make.sh
Jordan K. Hubbard bcd1c7cec0 Yeesh! Some of this stuff I yanked out of the makefiles without
reviewing closely enough (and, as a result, proflibs and dict suffered).
Fix.
1997-06-24 21:53:33 +00:00

15 lines
437 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 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