diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-11-07 15:38:52 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-11-07 15:38:52 +0000 |
commit | 3e07d7bb6e69e32ff8aad300aa72330171303b6d (patch) | |
tree | 7b37eb40a5c179b9af5cce551eeed878b3653afe /eclass | |
parent | Add WANT_AUTO* variables. (diff) | |
download | gentoo-2-3e07d7bb6e69e32ff8aad300aa72330171303b6d.tar.gz gentoo-2-3e07d7bb6e69e32ff8aad300aa72330171303b6d.tar.bz2 gentoo-2-3e07d7bb6e69e32ff8aad300aa72330171303b6d.zip |
Updated eclass to only display information about how to run the mod when it actually has a way to run it directly.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/games-mods.eclass | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass index 651e3b6d5be9..0094f07306a9 100644 --- a/eclass/games-mods.eclass +++ b/eclass/games-mods.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.6 2006/11/02 19:11:15 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.7 2006/11/07 15:38:52 wolf31o2 Exp $ # Variables to specify in an ebuild which uses this eclass: # GAME - (doom3, quake4 or ut2004, etc), unless ${PN} starts with e.g. "doom3-" @@ -413,17 +413,20 @@ games-mods_pkg_postinst() { games_pkg_postinst if default_client then - elog "To play this mod run:" if [[ -n "${MOD_BINS}" ]] then for binary in ${MOD_BINS} do + elog "To play this mod run:" elog " ${GAME_EXE}-${binary}" + echo done - else + elif [[ -n "${MOD_DIR}" ]] + then + elog "To play this mod run:" elog " ${GAME_EXE}-${MOD_DIR}" + echo fi - echo fi if use dedicated then |