1 |
#!/bin/bash |
#!/bin/bash |
2 |
# Copyright 1999-2004 Gentoo Foundation |
# Copyright 1999-2004 Gentoo Foundation |
3 |
# Distributed under the terms of the GNU General Public License v2 |
# Distributed under the terms of the GNU General Public License v2 |
4 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/opengl-update/opengl-update.sh,v 1.9 2007-11-14 19:15:39 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/opengl-update/opengl-update.sh,v 1.10 2007-11-14 19:19:16 niro Exp $ |
5 |
# Author: Martin Schlemmer <azarah@gentoo.org> |
# Author: Martin Schlemmer <azarah@gentoo.org> |
6 |
# Further modifications by Donnie Berkholz <spyderous@gentoo.org> |
# Further modifications by Donnie Berkholz <spyderous@gentoo.org> |
7 |
# Further modifications based off submissions to bug #54984 <cyfred@gentoo.org> |
# Further modifications based off submissions to bug #54984 <cyfred@gentoo.org> |
11 |
# <niro@magellan-linux.de> |
# <niro@magellan-linux.de> |
12 |
# |
# |
13 |
|
|
|
. /etc/init.d/functions |
|
|
|
|
14 |
hasq() |
hasq() |
15 |
{ |
{ |
16 |
local x |
local x |
100 |
Usage: ${0##*/} [<options>] <GL implementation> |
Usage: ${0##*/} [<options>] <GL implementation> |
101 |
Set the opengl implementation. |
Set the opengl implementation. |
102 |
Valid options: |
Valid options: |
103 |
|
--help|-h|-?: Prints this help. |
104 |
|
--version: Shows the version of this utility. |
105 |
--use-old: If an implementation is already set, use that one. |
--use-old: If an implementation is already set, use that one. |
106 |
--prefix=<val>: Set the source prefix (default: /usr) |
--prefix=<val>: Set the source prefix (default: /usr) |
107 |
--dst-prefix=<val>: Set the destination prefix (default: /usr) |
--dst-prefix=<val>: Set the destination prefix (default: /usr) |