summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/doom3
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-11 12:23:45 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-11 12:23:45 -0400
commitcc3e34dc9cb678d06c351a88cc39e6f5984844ec (patch)
tree3e11db0c685d9c2d45bec1b812ab9b4a5029e545 /pts/test-resources/doom3
parente5fee5ca7bab517256e31ec2a7db1fee80c5bf7d (diff)
downloadphoronix-test-suite-upstream-cc3e34dc9cb678d06c351a88cc39e6f5984844ec.tar.gz
phoronix-test-suite-upstream-cc3e34dc9cb678d06c351a88cc39e6f5984844ec.tar.xz
phoronix-test-suite-upstream-cc3e34dc9cb678d06c351a88cc39e6f5984844ec.zip
pts: Have doom3 support installing the key if it's stored locally in the
download-cache
Diffstat (limited to 'pts/test-resources/doom3')
-rw-r--r--pts/test-resources/doom3/downloads.xml4
-rwxr-xr-xpts/test-resources/doom3/install.sh4
2 files changed, 8 insertions, 0 deletions
diff --git a/pts/test-resources/doom3/downloads.xml b/pts/test-resources/doom3/downloads.xml
index 2e0da9e..6fa3491 100644
--- a/pts/test-resources/doom3/downloads.xml
+++ b/pts/test-resources/doom3/downloads.xml
@@ -8,5 +8,9 @@
<URL>doom3-game-files.tar</URL>
<FileName>doom3-game-files.tar</FileName>
</Package>
+ <Package>
+ <URL>doom3-key.tar</URL>
+ <FileName>doom3-key.tar</FileName>
+ </Package>
</Downloads>
</PhoronixTestSuite>
diff --git a/pts/test-resources/doom3/install.sh b/pts/test-resources/doom3/install.sh
index aab6be0..a8c5d7a 100755
--- a/pts/test-resources/doom3/install.sh
+++ b/pts/test-resources/doom3/install.sh
@@ -162,6 +162,10 @@ if [ -f doom3-game-files.tar ]
then
tar -k -C $1/base -xvf $1/doom3-game-files.tar
fi
+if [ -f doom3-key.tar ]
+ then
+ tar -xvf doom3-key.tar
+fi
echo "Doom 3 Game Files (*.pk4) Must Be Copied Into $1/base"
echo "Also Copy Your Game Key File To $HOME/.doom3/base/doomkey (If Not Already There)"