diff options
author | Edward W. Koenig <kingbeowulf@gmail.com> | 2016-10-17 07:22:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-17 07:34:12 +0700 |
commit | 93aeaecf62dd11ebf8f0e37a82e30ab9f4dee22d (patch) | |
tree | 44aed27e7fa2d3fb7a1f6c60c42c2f539315b8b5 /system/nvidia-legacy304-driver/nvidia-switch | |
parent | bbdbf085b69573f64d62b27dc1c2678e3738726b (diff) | |
download | slackbuilds-93aeaecf62dd11ebf8f0e37a82e30ab9f4dee22d.tar.gz |
system/nvidia-legacy304-driver: Added nvidia-installer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy304-driver/nvidia-switch')
-rw-r--r-- | system/nvidia-legacy304-driver/nvidia-switch | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/system/nvidia-legacy304-driver/nvidia-switch b/system/nvidia-legacy304-driver/nvidia-switch index 0681d52693..4ac2648e9c 100644 --- a/system/nvidia-legacy304-driver/nvidia-switch +++ b/system/nvidia-legacy304-driver/nvidia-switch @@ -30,7 +30,7 @@ set -e -ROOT="${ROOT:-/}" +ROOT="/" CWD=$(pwd) LIBSUFFIX="LIBDIRSUFFIX" # This will be replaced in the build script COMPAT32="LIB32FLAG" # This will be replaced in the build script (yes | no) @@ -53,9 +53,6 @@ save_GL(){ mv libGL.so.$NV_VERSION-nvidia libGL.so.$NV_VERSION ln -sf libGL.so.$NV_VERSION libGL.so.1 ln -sf libGL.so.$NV_VERSION libGL.so - if [ ! -e libEGL.so.1.0.0-xorg ]; then - mv libEGL.so.1.0.0 libEGL.so.1.0.0-xorg - fi mv libGL.la-nvidia libGL.la fi @@ -68,7 +65,7 @@ save_GL(){ ln -sf libGL.so.$GL_VERSION libGL.so mv libGL.la-xorg libGL.la else - echo WARNING: libGL.so is missing. + echo WARNING: libGL.so.$GL_VERSION is missing. fi fi @@ -101,7 +98,6 @@ save_glx(){ cd "$XLIB" if [ "$1" = "nvidia" ]; then if [ ! -e libglx.so-xorg ]; then - mv libglx.la libglx.la-xorg mv libglx.so libglx.so-xorg fi ln -sf libglx.so.$NV_VERSION-nvidia libglx.so.$NV_VERSION @@ -110,7 +106,6 @@ save_glx(){ rm -f libglx.so.$NV_VERSION rm -f libglx.so mv libglx.so-xorg libglx.so - mv libglx.la-xorg libglx.la fi cd "$CWD" } |