mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
01df2ec328
This is done since it contains much more than /bin, and also gets in the way when making a combined install+fixit CD. OK'ed by: jkh
38 lines
1.1 KiB
Bash
Executable File
38 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# Move all the games out to their own dist
|
|
if [ -d ${RD}/trees/base/usr/games ]; then
|
|
tar -cf - -C ${RD}/trees/base/usr/games . |
|
|
tar -xpf - -C ${RD}/trees/games/usr/games &&
|
|
rm -rf ${RD}/trees/base/usr/games;
|
|
fi
|
|
|
|
if [ -d ${RD}/trees/base/usr/share/games ]; then
|
|
tar -cf - -C ${RD}/trees/base/usr/share/games . |
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/games &&
|
|
rm -rf ${RD}/trees/base/usr/share/games;
|
|
fi
|
|
|
|
if [ -d ${RD}/trees/base/var/games ]; then
|
|
tar -cf - -C ${RD}/trees/base/var/games . |
|
|
tar -xpf - -C ${RD}/trees/games/var/games &&
|
|
rm -rf ${RD}/trees/base/var/games;
|
|
fi
|
|
|
|
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 . |
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/man/man6 &&
|
|
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 . |
|
|
tar -xpf - -C ${RD}/trees/games/usr/share/man/cat6 &&
|
|
rm -rf ${RD}/trees/catpages/usr/share/man/cat6
|
|
fi
|