summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-03 14:03:06 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-03 14:03:06 +0100
commit9a86ec4e11d08dbdc7e3895c49e5f6c87773b0b3 (patch)
tree9e6f25722643f616319fc8ef605cc1e8ec70fe8a /src
parente2544b2fb5f59e2f9bcf0666b8c274a568c06084 (diff)
clearer separation of unofficial stuff + doesnt get installed by default
Diffstat (limited to 'src')
-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