diff options
author | Tristan Heaven <tristan@gentoo.org> | 2009-07-26 10:57:40 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2009-07-26 10:57:40 +0000 |
commit | 5eadd5beb511f43de721ff229ed91f722e9d479c (patch) | |
tree | b0cbdcea4d78211143cf603fedd0805c12cc6f57 /eclass | |
parent | Don't enable deprecated Musepack (libmpcdec) SV7 support by default. (diff) | |
download | historical-5eadd5beb511f43de721ff229ed91f722e9d479c.tar.gz historical-5eadd5beb511f43de721ff229ed91f722e9d479c.tar.bz2 historical-5eadd5beb511f43de721ff229ed91f722e9d479c.zip |
remove unused games_link_mods function
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/games.eclass | 16 |
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 -} |