summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-04-09 22:09:23 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-04-09 22:09:23 +0000
commitc39647e10de27def954fb6e9e24533d7d7a95fda (patch)
treeeb244b632006c503df630ee64ad3c6aa2f1ae604 /eclass
parentAdd Xaw3d option, thanks to Ronald Hummelink <ronald@hummelink.xs4all.nl>. (M... (diff)
downloadgentoo-2-c39647e10de27def954fb6e9e24533d7d7a95fda.tar.gz
gentoo-2-c39647e10de27def954fb6e9e24533d7d7a95fda.tar.bz2
gentoo-2-c39647e10de27def954fb6e9e24533d7d7a95fda.zip
Made a slight modification to games_umod_unpack.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games.eclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index a528fd6333cc..881c0360e5a2 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.63 2004/04/09 21:33:15 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.64 2004/04/09 22:09:23 wolf31o2 Exp $
#
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org
#
@@ -159,15 +159,13 @@ games_ut_unpack() {
# Usage: games_umod_unpack $1
games_umod_unpack() {
local umod="$1"
- mkdir -p ${Ddir}/System ${Ddir}/Maps ${Ddir}/StaticMeshes ${Ddir}/Textures \
- ${Ddir}/Music ${Ddir}/Help ${Ddir}/Animations ${Ddir}/Sounds \
- ${Ddir}/KarmaData
+ mkdir -p ${Ddir}/System
cp ${dir}/System/{ucc-bin,{Manifest,Def{ault,User}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int} ${Ddir}/System
export UT_DATA_PATH="${Ddir}/System"
cd "${UT_DATA_PATH}"
./ucc-bin umodunpack -x ${S}/${umod} -nohomedir >/dev/null 2>&1 \
|| die "uncompressing file ${umod}"
- rm -f ${Ddir}/System/{ucc-bin,{Manifest,Def{ault,User}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int} >/dev/null 2>&1 || die "Removing temporary files"
+ rm -f ${Ddir}/System/{ucc-bin,{Manifest,Def{ault,User},User,UT2003}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log} >/dev/null 2>&1 || die "Removing temporary files"
}
# make a wrapper script ...