summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-05-14 11:49:35 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-05-14 11:49:35 +0000
commit9ca764b3e75453c72e8d1159ad413e27442039f9 (patch)
tree05c41e5dd892088900c93360a06b7490b2b624ef /games-strategy
parentVersion bump to latest 3.0 series, cleanup older. (diff)
downloadgentoo-2-9ca764b3e75453c72e8d1159ad413e27442039f9.tar.gz
gentoo-2-9ca764b3e75453c72e8d1159ad413e27442039f9.tar.bz2
gentoo-2-9ca764b3e75453c72e8d1159ad413e27442039f9.zip
improve elog
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/openra/ChangeLog5
-rw-r--r--games-strategy/openra/openra-20120504.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/games-strategy/openra/ChangeLog b/games-strategy/openra/ChangeLog
index b9ec771b1deb..ffbc83c7f594 100644
--- a/games-strategy/openra/ChangeLog
+++ b/games-strategy/openra/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/openra
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.3 2012/05/04 17:31:14 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/ChangeLog,v 1.4 2012/05/14 11:49:35 hasufell Exp $
+
+ 14 May 2012; Julian Ospald <hasufell@gentoo.org> openra-20120504.ebuild:
+ improve elog
04 May 2012; Julian Ospald <hasufell@gentoo.org> openra-20120504.ebuild:
add missing '|| die' to emake
diff --git a/games-strategy/openra/openra-20120504.ebuild b/games-strategy/openra/openra-20120504.ebuild
index 2e753aa02adc..8ca9752f0694 100644
--- a/games-strategy/openra/openra-20120504.ebuild
+++ b/games-strategy/openra/openra-20120504.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/openra-20120504.ebuild,v 1.2 2012/05/04 17:31:14 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/openra/openra-20120504.ebuild,v 1.3 2012/05/14 11:49:35 hasufell Exp $
EAPI=3
@@ -69,12 +69,12 @@ pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
- if use cg ; then
- elog "If you have problems starting the game consider switching"
- elog "back to Graphics.Renderer=Gl in openra*.desktop or manually"
- elog "run:"
- elog "${PN} Game.Mods=\$mod Graphics.Renderer=Gl"
- fi
+ local myrenderer=$(usex cg Gl Cg)
+
+ elog "If you have problems starting the game consider switching"
+ elog "to Graphics.Renderer=${myrenderer} in openra*.desktop or manually"
+ elog "run:"
+ elog "${PN} Game.Mods=\$mod Graphics.Renderer=${myrenderer}"
}
pkg_postrm() {