[Lunar-commits] r22236 - in moonbase/trunk/x11/fglrx: . profile.d

Auke Kok sofar at lunar-linux.org
Mon Nov 20 16:23:13 CET 2006


Author: sofar
Date: 2006-11-20 16:23:13 +0100 (Mon, 20 Nov 2006)
New Revision: 22236

Added:
   moonbase/trunk/x11/fglrx/profile.d/
   moonbase/trunk/x11/fglrx/profile.d/fglrx.rc
Modified:
   moonbase/trunk/x11/fglrx/BUILD
Log:
Better?


Modified: moonbase/trunk/x11/fglrx/BUILD
===================================================================
--- moonbase/trunk/x11/fglrx/BUILD	2006-11-20 12:16:24 UTC (rev 22235)
+++ moonbase/trunk/x11/fglrx/BUILD	2006-11-20 15:23:13 UTC (rev 22236)
@@ -23,28 +23,6 @@
 	install x710/usr/X11R6/lib/modules/drivers/fglrx_drv.so /usr/lib/xorg/modules/drivers/ &&
 	install x710/usr/X11R6/lib/modules/linux/libfglrxdrm.so /usr/lib/xorg/modules/linux/ &&
 
-cat > /etc/profile.d/fglrx.rc <<EOF
-if [ $LD_LIBRARY_PATH ] ; then
-  if ! set | grep LD_LIBRARY_PATH | grep -q /usr/lib/fglrx ; then
-    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/fglrx
-    export LD_LIBRARY_PATH
-  fi
-else
-  LD_LIBRARY_PATH=/usr/lib/fglrx
-  export LD_LIBRARY_PATH
-fi
-
-if [ $LIBGL_DRIVERS_PATH ] ; then
-  if ! set | grep LIBGL_DRIVERS_PATH | grep -q /usr/lib/dri ; then
-    LIBGL_DRIVERS_PATH=$LIBGL_DRIVERS_PATH:/usr/lib/dri
-    export LIBGL_DRIVERS_PATH
-  fi
-else
-  LIBGL_DRIVERS_PATH=/usr/lib/dri
-  export LIBGL_DRIVERS_PATH
-fi
-EOF
-
 	export KPATH="/usr/src/linux"
 
 	KVER=$(if [ -f $KPATH/include/linux/utsrelease.h ]; then

Added: moonbase/trunk/x11/fglrx/profile.d/fglrx.rc
===================================================================
--- moonbase/trunk/x11/fglrx/profile.d/fglrx.rc	                        (rev 0)
+++ moonbase/trunk/x11/fglrx/profile.d/fglrx.rc	2006-11-20 15:23:13 UTC (rev 22236)
@@ -0,0 +1,19 @@
+if [ $LD_LIBRARY_PATH ] ; then
+  if ! set | grep LD_LIBRARY_PATH | grep -q /usr/lib/fglrx ; then
+    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/fglrx
+    export LD_LIBRARY_PATH
+  fi
+else
+  LD_LIBRARY_PATH=/usr/lib/fglrx
+  export LD_LIBRARY_PATH
+fi
+
+if [ $LIBGL_DRIVERS_PATH ] ; then
+  if ! set | grep LIBGL_DRIVERS_PATH | grep -q /usr/lib/dri ; then
+    LIBGL_DRIVERS_PATH=$LIBGL_DRIVERS_PATH:/usr/lib/dri
+    export LIBGL_DRIVERS_PATH
+  fi
+else
+  LIBGL_DRIVERS_PATH=/usr/lib/dri
+  export LIBGL_DRIVERS_PATH
+fi



More information about the Lunar-commits mailing list