/[livecd-tools]/trunk/openglify
Gentoo

Diff of /trunk/openglify

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

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

Legend:
Removed from v.18  
changed lines
  Added in v.23

  ViewVC Help
Powered by ViewVC 1.1.20