/[livecd-tools]/trunk/openglify
Gentoo

Contents of /trunk/openglify

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23 - (hide annotations) (download)
Fri Jan 14 16:13:05 2005 UTC (9 years, 7 months ago) by wolf31o2
File size: 1059 byte(s)
Updated opengl stuff to not escape special characters.

1 wolf31o2 5 #!/bin/bash
2     # Copyright 1999-2004 Gentoo Technologies, Inc.
3     # Distributed under the terms of the GNU General Public License v2
4 wolf31o2 23 # $Header: /var/cvsroot/gentoo/src/livecd-tools/openglify,v 1.3 2005/01/14 16:13:05 wolf31o2 Exp $
5 wolf31o2 5
6 wolf31o2 18 #This script is designed to tweak the system for opengl-update-livecd
7 wolf31o2 5 #set up our flexible opengl stuff:
8    
9     #move symlinks to a malleable /etc/opengl directory.
10     install -d /etc/opengl
11     mv /usr/lib/libGL.* /etc/opengl/
12     mv /usr/lib/libGLcore.* /etc/opengl/
13     ln -sf /etc/opengl/libGL.so /usr/lib/libGL.so
14     ln -sf /etc/opengl/libGL.so.1 /usr/lib/libGL.so.1
15     ln -sf /etc/opengl/libGLcore.so /usr/lib/libGLcore.so
16     ln -sf /etc/opengl/libGLcore.so.1 /usr/lib/libGLcore.so.1
17     mv /usr/X11R6/lib/libMesaGL.so /etc/opengl/
18     ln -sf /etc/opengl/libMesaGL.so /usr/X11R6/lib/libMesaGL.so
19     for x in libglx.a libglx.so
20     do
21 wolf31o2 23 if [ -e /usr/X11R6/lib/modules/extensions/${x} -o -L \
22     /usr/X11R6/lib/modules/extensions/${x} ]
23 wolf31o2 5 then
24 wolf31o2 23 mv /usr/X11R6/lib/modules/extensions/${x} /etc/opengl/
25 wolf31o2 5 fi
26 wolf31o2 23 ln -s /etc/opengl/${x} \
27     /usr/X11R6/lib/modules/extensions/${x}
28 wolf31o2 5 done

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20