summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/quake4
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-12 14:39:27 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-12 14:39:27 -0400
commit06e66ecdbf71ef17385c2015ea01d9d1a9b8d089 (patch)
tree64c087ad6953085861d347bcee981f062b6fb3e0 /pts/test-resources/quake4
parente2090087230f6f08866149d8531517e39e0d1f44 (diff)
downloadphoronix-test-suite-upstream-06e66ecdbf71ef17385c2015ea01d9d1a9b8d089.tar.gz
phoronix-test-suite-upstream-06e66ecdbf71ef17385c2015ea01d9d1a9b8d089.tar.xz
phoronix-test-suite-upstream-06e66ecdbf71ef17385c2015ea01d9d1a9b8d089.zip
pts: Have quake4 support for installing the key if it's stored locally
in the download-cache
Diffstat (limited to 'pts/test-resources/quake4')
-rw-r--r--pts/test-resources/quake4/downloads.xml4
-rwxr-xr-xpts/test-resources/quake4/install.sh5
2 files changed, 9 insertions, 0 deletions
diff --git a/pts/test-resources/quake4/downloads.xml b/pts/test-resources/quake4/downloads.xml
index bdc40fb..2c8d4ee 100644
--- a/pts/test-resources/quake4/downloads.xml
+++ b/pts/test-resources/quake4/downloads.xml
@@ -12,6 +12,10 @@
<URL>quake4-game-files.tar</URL>
<FileName>quake4-game-files.tar</FileName>
</Package>
+ <Package>
+ <URL>quake4-key.tar</URL>
+ <FileName>quake4-key.tar</FileName>
+ </Package>
</Downloads>
</PhoronixTestSuite>
diff --git a/pts/test-resources/quake4/install.sh b/pts/test-resources/quake4/install.sh
index 87fcb4e..fb428b9 100755
--- a/pts/test-resources/quake4/install.sh
+++ b/pts/test-resources/quake4/install.sh
@@ -18,6 +18,11 @@ if [ -f quake4-game-files.tar ]
then
tar -k -C $1/q4base -xvf $1/quake4-game-files.tar
fi
+if [ -f quake4-key.tar ]
+ then
+ tar -xvf quake4-key.tar
+fi
+
echo "Quake 4 Game Files (*.pk4) Must Be Copied Into $1/q4base"
echo "Also Copy Your Game Key File To $HOME/.quake4/q4base/quake4key (If Not Already There)"