summaryrefslogtreecommitdiff
path: root/src/patch-install-cd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/patch-install-cd.sh')
-rwxr-xr-xsrc/patch-install-cd.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/patch-install-cd.sh b/src/patch-install-cd.sh
index 5398657..849c0fa 100755
--- a/src/patch-install-cd.sh
+++ b/src/patch-install-cd.sh
@@ -1,4 +1,5 @@
#!/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
@@ -7,6 +8,14 @@ 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/dieter /home/arch/fifa/user
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