diff options
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" } |