1997-06-21 15:42:17 +00:00
|
|
|
#!/bin/sh
|
2001-04-08 23:09:21 +00:00
|
|
|
#
|
1999-09-11 06:11:52 +00:00
|
|
|
# $FreeBSD$
|
2001-04-08 23:09:21 +00:00
|
|
|
#
|
1999-09-11 06:11:52 +00:00
|
|
|
|
1997-06-21 15:42:17 +00:00
|
|
|
# Move all the games out to their own dist
|
|
|
|
if [ -d ${RD}/trees/bin/usr/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/bin/usr/games . |
|
1999-09-11 06:11:52 +00:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/games &&
|
1997-06-21 15:42:17 +00:00
|
|
|
rm -rf ${RD}/trees/bin/usr/games;
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d ${RD}/trees/bin/usr/share/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/bin/usr/share/games . |
|
1999-09-11 06:11:52 +00:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/games &&
|
1997-06-21 15:42:17 +00:00
|
|
|
rm -rf ${RD}/trees/bin/usr/share/games;
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d ${RD}/trees/bin/var/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/bin/var/games . |
|
1999-09-11 06:11:52 +00:00
|
|
|
tar -xpf - -C ${RD}/trees/games/var/games &&
|
1997-06-21 15:42:17 +00:00
|
|
|
rm -rf ${RD}/trees/bin/var/games;
|
|
|
|
fi
|
1997-07-02 08:59:00 +00:00
|
|
|
|
|
|
|
if [ -d ${RD}/trees/manpages/usr/share/man/man6 ]; then
|
|
|
|
mkdir -p ${RD}/trees/games/usr/share/man/man6
|
|
|
|
tar -cf - -C ${RD}/trees/manpages/usr/share/man/man6 . |
|
1999-09-11 06:11:52 +00:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/man/man6 &&
|
1997-07-02 08:59:00 +00:00
|
|
|
rm -rf ${RD}/trees/manpages/usr/share/man/man6
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d ${RD}/trees/catpages/usr/share/man/cat6 ]; then
|
|
|
|
mkdir -p ${RD}/trees/games/usr/share/man/cat6
|
|
|
|
tar -cf - -C ${RD}/trees/catpages/usr/share/man/cat6 . |
|
1999-09-11 06:11:52 +00:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/man/cat6 &&
|
1997-07-02 08:59:00 +00:00
|
|
|
rm -rf ${RD}/trees/catpages/usr/share/man/cat6
|
|
|
|
fi
|