summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-06-23 11:40:06 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-06-23 11:40:06 +0000
commita8e413d2873581fca507a27eb4916ba9c75fa4ab (patch)
treec1a62e4b3f4325dbd4c3a381ca43f0631c026979 /app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild
parentBump to 1.3.3, fixes #274892. Small fixes by Rodrigo Lazo (diff)
downloadgentoo-2-a8e413d2873581fca507a27eb4916ba9c75fa4ab.tar.gz
gentoo-2-a8e413d2873581fca507a27eb4916ba9c75fa4ab.tar.bz2
gentoo-2-a8e413d2873581fca507a27eb4916ba9c75fa4ab.zip
Fix bug #173571 causing wrong eselect opengl set call. On all versions.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild')
-rw-r--r--app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild
index 94616cadda59..f82a297f49dd 100644
--- a/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild
+++ b/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild,v 1.11 2008/10/25 22:25:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild,v 1.12 2009/06/23 11:40:06 scarabeus Exp $
inherit multilib
@@ -66,7 +66,7 @@ pkg_preinst() {
pkg_postinst() {
local impl="$(eselect opengl show)"
- if [[ -n "${impl}" ]] ; then
+ if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
eselect opengl set "${impl}"
fi
}