Diff of /tags/openglupdate-2_3_8/dri-update.in
Parent Directory | Revision Log | Patch
revision 1326 by niro, Mon May 30 18:26:53 2011 UTC | revision 1815 by niro, Wed May 2 08:37:04 2012 UTC | |
---|---|---|
# | Line 6 | Line 6 |
6 | # based on opengl-update from Gentoo-Linux | # based on opengl-update from Gentoo-Linux |
7 | # | # |
8 | ||
source /etc/init.d/functions | ||
9 | hasq() | hasq() |
10 | { | { |
11 | local x | local x |
# | Line 42 get_current_implem() | Line 40 get_current_implem() |
40 | if [[ -n ${DRI_PROFILE} ]] | if [[ -n ${DRI_PROFILE} ]] |
41 | then | then |
42 | implem="${DRI_PROFILE}" | implem="${DRI_PROFILE}" |
elif [[ -n ${LDPATH} ]] | ||
then | ||
implem="${LDPATH%%:*}" | ||
implem="${implem##*mesa/}" | ||
implem="${implem%/lib*}" | ||
43 | fi | fi |
unset LDPATH | ||
44 | unset DRI_PROFILE | unset DRI_PROFILE |
45 | fi | fi |
46 |
|