Magellan Linux

Diff of /tags/openglupdate-2_2_18/dri-update.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/opengl-update/dri-update.sh revision 1326 by niro, Mon May 30 18:26:53 2011 UTC tags/openglupdate-2_2_18/dri-update.sh revision 1875 by niro, Tue Jul 3 09:31:24 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    

Legend:
Removed from v.1326  
changed lines
  Added in v.1875