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
|
2002-04-23 22:16:41 +00:00
|
|
|
if [ -d ${RD}/trees/base/usr/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/base/usr/games . |
|
1999-09-11 06:11:52 +00:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/games &&
|
2002-04-23 22:16:41 +00:00
|
|
|
rm -rf ${RD}/trees/base/usr/games;
|
1997-06-21 15:42:17 +00:00
|
|
|
fi
|
|
|
|
|
2002-04-23 22:16:41 +00:00
|
|
|
if [ -d ${RD}/trees/base/usr/share/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/base/usr/share/games . |
|
1999-09-11 06:11:52 +00:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/games &&
|
2002-04-23 22:16:41 +00:00
|
|
|
rm -rf ${RD}/trees/base/usr/share/games;
|
1997-06-21 15:42:17 +00:00
|
|
|
fi
|
|
|
|
|
2002-04-23 22:16:41 +00:00
|
|
|
if [ -d ${RD}/trees/base/var/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/base/var/games . |
|
1999-09-11 06:11:52 +00:00
|
|
|
tar -xpf - -C ${RD}/trees/games/var/games &&
|
2002-04-23 22:16:41 +00:00
|
|
|
rm -rf ${RD}/trees/base/var/games;
|
1997-06-21 15:42:17 +00:00
|
|
|
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
|