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.7 2007-11-14 18:45:26 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/opengl-update/opengl-update.sh,v 1.8 2007-11-14 19:03:19 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> |
227 |
[[ -d ${PREFIX}/${LIBDIR}/opengl ]] || continue |
[[ -d ${PREFIX}/${LIBDIR}/opengl ]] || continue |
228 |
else |
else |
229 |
[[ -d ${PREFIX}/${LIBDIR}/opengl ]] && |
[[ -d ${PREFIX}/${LIBDIR}/opengl ]] && |
230 |
! -h ${PREFIX}/${LIBDIR} ]] || continue |
[[ ! -h ${PREFIX}/${LIBDIR} ]] || continue |
231 |
fi |
fi |
232 |
|
|
233 |
# Fallback on xorg if we don't have this implementation for this LIBDIR. |
# Fallback on xorg if we don't have this implementation for this LIBDIR. |