1997-06-21 16:42:17 +01:00
|
|
|
#!/bin/sh
|
2001-04-09 00:09:21 +01:00
|
|
|
#
|
1999-09-11 07:11:52 +01:00
|
|
|
# $FreeBSD$
|
2001-04-09 00:09:21 +01:00
|
|
|
#
|
1999-09-11 07:11:52 +01:00
|
|
|
|
1997-06-21 16:42:17 +01:00
|
|
|
# Move all the games out to their own dist
|
2002-04-23 23:16:41 +01:00
|
|
|
if [ -d ${RD}/trees/base/usr/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/base/usr/games . |
|
1999-09-11 07:11:52 +01:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/games &&
|
2002-04-23 23:16:41 +01:00
|
|
|
rm -rf ${RD}/trees/base/usr/games;
|
1997-06-21 16:42:17 +01:00
|
|
|
fi
|
|
|
|
|
2002-04-23 23:16:41 +01:00
|
|
|
if [ -d ${RD}/trees/base/usr/share/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/base/usr/share/games . |
|
1999-09-11 07:11:52 +01:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/games &&
|
2002-04-23 23:16:41 +01:00
|
|
|
rm -rf ${RD}/trees/base/usr/share/games;
|
1997-06-21 16:42:17 +01:00
|
|
|
fi
|
|
|
|
|
2002-04-23 23:16:41 +01:00
|
|
|
if [ -d ${RD}/trees/base/var/games ]; then
|
|
|
|
tar -cf - -C ${RD}/trees/base/var/games . |
|
1999-09-11 07:11:52 +01:00
|
|
|
tar -xpf - -C ${RD}/trees/games/var/games &&
|
2002-04-23 23:16:41 +01:00
|
|
|
rm -rf ${RD}/trees/base/var/games;
|
1997-06-21 16:42:17 +01:00
|
|
|
fi
|
1997-07-02 09:59:00 +01: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 07:11:52 +01:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/man/man6 &&
|
1997-07-02 09:59:00 +01: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 07:11:52 +01:00
|
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/man/cat6 &&
|
1997-07-02 09:59:00 +01:00
|
|
|
rm -rf ${RD}/trees/catpages/usr/share/man/cat6
|
|
|
|
fi
|