/[livecd-tools]/trunk/x-setup
Gentoo

Diff of /trunk/x-setup

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

Revision 51 Revision 105
1#!/bin/bash 1#!/bin/bash
2# Copyright 1999-1999-2005 Gentoo Foundation 2# Copyright 1999-1999-2005 Gentoo Foundation
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/x-setup,v 1.14 2005/05/16 19:26:39 wolf31o2 Exp $ 4# $Header: /var/cvsroot/gentoo/src/livecd-tools/x-setup,v 1.15 2006/06/09 01:05:46 wolf31o2 Exp $
5 5
6# Check for an xorg.conf 6# Check for an xorg.conf
7if [ ! -e /etc/X11/xorg.conf ] 7if [ ! -e /etc/X11/xorg.conf ]
8then 8then
9 echo "ERROR: /etc/X11/xorg.conf cannot be found! Exiting" 9 echo "ERROR: /etc/X11/xorg.conf cannot be found! Exiting"
39then 39then
40 /usr/sbin/opengl-update-livecd $GLTYPE 40 /usr/sbin/opengl-update-livecd $GLTYPE
41elif [ -x /usr/sbin/opengl-update ] 41elif [ -x /usr/sbin/opengl-update ]
42then 42then
43 /usr/sbin/opengl-update --dst-prefix=/etc/opengl $GLTYPE 43 /usr/sbin/opengl-update --dst-prefix=/etc/opengl $GLTYPE
44elif [ -x /usr/bin/eselect -a -e /usr/share/eselect/modules/opengl.eselect ]
45then
46 /usr/bin/eselect opengl set $GLTYPE --dst-prefix=/etc/opengl
44else 47else
45 echo "ERROR: no opengl-update script can be located" 48 echo "ERROR: no opengl-update script can be located"
46 exit 1 49 exit 1
47fi 50fi
48 51

Legend:
Removed from v.51  
changed lines
  Added in v.105

  ViewVC Help
Powered by ViewVC 1.1.20