summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2009-07-26 10:57:40 +0000
committerTristan Heaven <nyhm@gentoo.org>2009-07-26 10:57:40 +0000
commitb5e520bdb3b03b2d9f6beffa248af5f3710dbe00 (patch)
treef913669f696fac995b1dbabf5041c3a877165c3d /eclass/games.eclass
parentDon't enable deprecated Musepack (libmpcdec) SV7 support by default. (diff)
downloadgentoo-2-b5e520bdb3b03b2d9f6beffa248af5f3710dbe00.tar.gz
gentoo-2-b5e520bdb3b03b2d9f6beffa248af5f3710dbe00.tar.bz2
gentoo-2-b5e520bdb3b03b2d9f6beffa248af5f3710dbe00.zip
remove unused games_link_mods function
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r--eclass/games.eclass16
1 files changed, 1 insertions, 15 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index e36044a54371..b4d62f4a13b8 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.136 2009/04/05 03:38:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.137 2009/07/26 10:57:40 nyhm Exp $
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org
#
@@ -220,17 +220,3 @@ games_umod_unpack() {
rm -f "${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT200{3,4}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log} &>/dev/null \
|| die "Removing temporary files"
}
-
-# Link mods created by games-mods.eclass into the GAMES_PREFIX_OPT directories
-# so they can be found by binary versions of the games.
-games_link_mods() {
- if [[ -e ${GAMES_DATADIR}/${GAME} ]] ; then
- cd "${GAMES_DATADIR}/${GAME}"
- while read mod ; do
- if [[ ! -e ${Ddir}/${mod} ]] ; then
- elog "Creating symlink for ${mod}"
- dosym "${GAMES_DATADIR}"/${GAME}/${mod} "${dir}"/${mod} || die
- fi
- done < <(find . -type d -printf '%P\n' 2>/dev/null)
- fi
-}