commit:     ed6aba2197f929f3a406479a3a6fcd4afcad1a82
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  8 22:57:42 2014 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec  8 22:58:21 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=ed6aba21

opengl: create xorg.conf.d directory if missing

---
 modules/opengl.eselect | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/opengl.eselect b/modules/opengl.eselect
index 40b448e..6e3df4f 100644
--- a/modules/opengl.eselect
+++ b/modules/opengl.eselect
@@ -17,7 +17,7 @@ DESCRIPTION="Manage the OpenGL implementation used by your 
system"
 MAINTAINER="[email protected]"
 SVN_DATE='$Date$'
 VERSION=$(svn_date_to_version "${SVN_DATE}" )
-EBUILD_VERSION="1.3.0"
+EBUILD_VERSION="1.3.1"
 
 # Our data
 ENV_FILE="${EROOT}/etc/env.d/000opengl"
@@ -143,6 +143,7 @@ set_new_implementation() {
        store_config ${ENV_FILE} LDPATH "${ldpath}"
        store_config ${ENV_FILE} OPENGL_PROFILE "${gl_implem}"
 
+       mkdir -p "${XORGD_FILE%/*}" || die
        write_xorg_confd "${xorgmodpath[@]}" >${XORGD_FILE}
 
        do_action env update &> /dev/null

Reply via email to