summaryrefslogtreecommitdiff
path: root/src/patch-install-cd.sh
blob: 849c0fab2be09f053696e9b4efa95c256f91d3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
echo "Installing fifa into the installcd vfs ..."
SRC_DIR=`dirname $0` # the src directory in the git clone 
GIT_DIR=`dirname $SRC_DIR` # the git clone dir itself
mkdir -p /home/arch/fifa/docs
cp -ax $SRC_DIR/fifa.sh      /arch/fifa.sh

cp -ax $SRC_DIR/core         /home/arch/fifa/
cp -ax $SRC_DIR/user         /home/arch/fifa/
cp -ax $SRC_DIR/runtime      /home/arch/fifa/
cp -ax $GIT_DIR/HOWTO        /home/arch/fifa/docs/
cp -ax $GIT_DIR/README       /home/arch/fifa/docs/


if [ "$1" = unofficial ]
then
	echo "Installing dieter's unofficial modules for fifa ..."
	cp -ax $GIT_DIR/unofficial/modules/*       /home/arch/fifa/user/
fi

echo Done