summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/livecd-tools/files/livecd-tools-1.0.33-eselect.patch')
-rw-r--r--app-misc/livecd-tools/files/livecd-tools-1.0.33-eselect.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-misc/livecd-tools/files/livecd-tools-1.0.33-eselect.patch b/app-misc/livecd-tools/files/livecd-tools-1.0.33-eselect.patch
new file mode 100644
index 000000000000..caa04e2de825
--- /dev/null
+++ b/app-misc/livecd-tools/files/livecd-tools-1.0.33-eselect.patch
@@ -0,0 +1,19 @@
+diff -urN livecd-tools-1.0.33.orig/x-setup livecd-tools-1.0.33/x-setup
+--- livecd-tools-1.0.33.orig/x-setup 2006-07-19 16:55:42.000000000 -0400
++++ livecd-tools-1.0.33/x-setup 2006-08-01 15:33:10.000000000 -0400
+@@ -38,12 +38,12 @@
+ if [ -x /usr/sbin/opengl-update-livecd ]
+ then
+ /usr/sbin/opengl-update-livecd $GLTYPE
+-elif [ -x /usr/sbin/opengl-update ]
+-then
+- /usr/sbin/opengl-update --dst-prefix=/etc/opengl $GLTYPE
+ elif [ -x /usr/bin/eselect -a -e /usr/share/eselect/modules/opengl.eselect ]
+ then
+ /usr/bin/eselect opengl set $GLTYPE --dst-prefix=/etc/opengl
++elif [ -x /usr/sbin/opengl-update ]
++then
++ /usr/sbin/opengl-update --dst-prefix=/etc/opengl $GLTYPE
+ else
+ echo "ERROR: no opengl-update script can be located"
+ exit 1