Gentoo symlinks fixed
This commit is contained in:
parent
4b1a6d27e2
commit
857fe701c3
|
@ -103,16 +103,20 @@ case "$DISTRIB_ID" in
|
|||
eselect rc stop snail-xserver
|
||||
eselect rc restart snail-watcher
|
||||
|
||||
grep acpi_call /etc/conf.d/modules || echo 'modules="${modules} acpi_call' >> /etc/conf.d/modules
|
||||
|
||||
eselect opengl set xorg-x11
|
||||
for arch in 32bit 64bit; do
|
||||
for chip in i915 i965 r300 r600 sw; do
|
||||
eselect mesa set $arch $chip classic &>/dev/null;
|
||||
done;
|
||||
done
|
||||
ln -sf /usr/lib/opengl/nvidia/extensions /usr/lib/snail/
|
||||
ln -sf /usr/lib/opengl/nvidia/lib /usr/lib/snail/
|
||||
ln -sf /usr/lib/xorg/modules /usr/lib/snail/
|
||||
grep acpi_call /etc/conf.d/modules || echo 'modules="${modules} acpi_call' >> /etc/conf.d/modules
|
||||
ln -sf /usr/lib/opengl/nvidia/lib/libGL.so.[0-9][0-9]* /usr/lib/snail/libGL.so.1
|
||||
ln -sf /usr/lib/xorg/modules/libfb.so /usr/lib/snail/libfb.so
|
||||
ln -sf /usr/lib/xorg/modules/libwfb.so /usr/lib/snail/libwfb.so
|
||||
ln -sf /usr/lib/opengl/nvidia/extensions/libglx.so.[0-9][0-9]* /usr/lib/snail/libglx.so
|
||||
ln -sf /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.[0-9][0-9]* /usr/lib/snail/
|
||||
ln -sf /usr/lib/xorg/modules/drivers/nvidia_drv.so /usr/lib/snail/nvidia_drv.so
|
||||
;;
|
||||
|
||||
"debian")
|
||||
|
|
Loading…
Reference in New Issue