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

Diff of /trunk/x-setup

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

Revision 44 Revision 46
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/x-setup,v 1.12 2005/03/01 18:13:51 wolf31o2 Exp $ 4# $Header: /var/cvsroot/gentoo/src/livecd-tools/x-setup,v 1.13 2005/04/12 21:25:21 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"
84if [ -x /usr/sbin/opengl-update-livecd ] 84if [ -x /usr/sbin/opengl-update-livecd ]
85then 85then
86 /usr/sbin/opengl-update-livecd $GLTYPE 86 /usr/sbin/opengl-update-livecd $GLTYPE
87elif [ -x /usr/sbin/opengl-update ] 87elif [ -x /usr/sbin/opengl-update ]
88then 88then
89 opengl-update $GLTYPE 89 /usr/sbin/opengl-update --dst-prefix=/etc/opengl $GLTYPE
90else 90else
91 echo "ERROR: no opengl-update script can be located" 91 echo "ERROR: no opengl-update script can be located"
92 exit 1 92 exit 1
93fi 93fi
94 94

Legend:
Removed from v.44  
changed lines
  Added in v.46

  ViewVC Help
Powered by ViewVC 1.1.20