summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad House <brad_mssw@gentoo.org>2004-02-15 07:14:54 +0000
committerBrad House <brad_mssw@gentoo.org>2004-02-15 07:14:54 +0000
commit8e501911c81bb08432f003478b12bff9ddb2a2f2 (patch)
tree5df045a8bb6746418cc26c2c9e4378ac4a642701 /games-fps
parentver bump (diff)
downloadgentoo-2-8e501911c81bb08432f003478b12bff9ddb2a2f2.tar.gz
gentoo-2-8e501911c81bb08432f003478b12bff9ddb2a2f2.tar.bz2
gentoo-2-8e501911c81bb08432f003478b12bff9ddb2a2f2.zip
fix amd64 install
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/ut2004-demo/ut2004-demo-3120.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/games-fps/ut2004-demo/ut2004-demo-3120.ebuild b/games-fps/ut2004-demo/ut2004-demo-3120.ebuild
index 66f39d45ca38..81223a0da884 100644
--- a/games-fps/ut2004-demo/ut2004-demo-3120.ebuild
+++ b/games-fps/ut2004-demo/ut2004-demo-3120.ebuild
@@ -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/games-fps/ut2004-demo/ut2004-demo-3120.ebuild,v 1.3 2004/02/15 05:34:01 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-demo/ut2004-demo-3120.ebuild,v 1.4 2004/02/15 07:14:54 brad_mssw Exp $
inherit games eutils
@@ -22,8 +22,10 @@ S=${WORKDIR}
src_unpack() {
unpack ${A}
- unpack_makeself ut2004-lnx-demo-${PV}.run
- rm ut2004-lnx-demo-${PV}.run
+ [ "${ARCH}" = "amd64" ] && RNAME="ut2004-lnx64-demo-${PV}.run"
+ [ "${ARCH}" = "x86" ] && RNAME="ut2004-lnx-demo-${PV}.run"
+ unpack_makeself ${RNAME}
+ rm ${RNAME}
}
src_install() {