diff options
Diffstat (limited to 'system/nvidia-driver/nvidia-switch')
-rw-r--r-- | system/nvidia-driver/nvidia-switch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/nvidia-driver/nvidia-switch b/system/nvidia-driver/nvidia-switch index 3495777a4807f..8369e993f0104 100644 --- a/system/nvidia-driver/nvidia-switch +++ b/system/nvidia-driver/nvidia-switch @@ -55,7 +55,7 @@ save_GL(){ # Check for multilib configuration if [ "$COMPAT32" = "yes" ]; then cd $LIB32 - if [ -f libGL.so.$GL_VERSION ]; then + if [ ! -e libGL.so.$GL_VERSION-xorg ]; then mv libGL.so.$GL_VERSION libGL.so.$GL_VERSION-xorg fi ln -sf libGL.so.$NV_VERSION-nvidia libGL.so.$NV_VERSION |