/[livecd-tools]/trunk/opengl-update-livecd
Gentoo

Diff of /trunk/opengl-update-livecd

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

Revision 21 Revision 22
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 or later 3# Distributed under the terms of the GNU General Public License, v2 or later
4# Author: Martin Schlemmer <azarah@gentoo.org> 4# Author: Martin Schlemmer <azarah@gentoo.org>
5# $Header: /var/cvsroot/gentoo/src/livecd-tools/Attic/opengl-update-livecd,v 1.1 2004/11/19 16:11:24 wolf31o2 Exp $ 5# $Header: /var/cvsroot/gentoo/src/livecd-tools/Attic/opengl-update-livecd,v 1.2 2005/01/11 12:06:36 wolf31o2 Exp $
6 6
7source /etc/init.d/functions.sh 7source /etc/init.d/functions.sh
8 8
9if [ "\`id -u\`" -ne 0 ] 9if [ \`id -u\` -ne 0 ]
10then 10then
11 eerror "\${0}: must be root." 11 eerror "\${0}: must be root."
12 exit 1 12 exit 1
13fi 13fi
14 14
34 34
35FOO 35FOO
36 exit 1 36 exit 1
37} 37}
38 38
39if [ "\$#" -ne 1 ] 39if [ \$# -ne 1 ]
40then 40then
41 usage 41 usage
42fi 42fi
43if [ ! -d /usr/lib/opengl/\${1} ] 43if [ ! -d /usr/lib/opengl/\${1} ]
44then 44then

Legend:
Removed from v.21  
changed lines
  Added in v.22

  ViewVC Help
Powered by ViewVC 1.1.20