diff options
Diffstat (limited to 'system/nvidia-legacy173-driver/nvidia-switch')
-rw-r--r-- | system/nvidia-legacy173-driver/nvidia-switch | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/system/nvidia-legacy173-driver/nvidia-switch b/system/nvidia-legacy173-driver/nvidia-switch index f4e0ed4948..b700fb2f5d 100644 --- a/system/nvidia-legacy173-driver/nvidia-switch +++ b/system/nvidia-legacy173-driver/nvidia-switch @@ -20,7 +20,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# nvidia-switch utility 0.8.1 +# nvidia-switch utility 0.8.2 # # A tool to switch between nvidia-binary-driver and stock xorg-driver # if both are installed in parallel. @@ -236,15 +236,6 @@ fi cd $CWD } -libwfb_nvidia(){ -#Recreate the link removed by --xorg -if ! [ -e "$XMOD/libwfb.so" ]; then - cd $XMOD - ln -s libnvidia-wfb.so.1 libwfb.so - cd $CWD -fi -} - nvidia_ldconfig(){ /sbin/ldconfig #Generate correct symink for that lib @@ -360,7 +351,7 @@ check_glx(){ } check_wfb(){ - for i in libwfb.so libwfb.la libnvidia-wfb.so.1 libnvidia-wfb.so.$NV_VERSION; do + for i in libnvidia-wfb.so.1 libnvidia-wfb.so.$NV_VERSION; do if [ "$i" = "libnvidia-wfb.so.1" ]; then check $XMOD $i "link" else @@ -443,7 +434,6 @@ nvidia(){ libglcore_nvidia libs "nvidia" libglx_nvidia - libwfb_nvidia LD_NVIDIA="${LIB}/libGL.so.$NV_VERSION-nvidia" nvidia_ldconfig $LD_NVIDIA @@ -471,7 +461,6 @@ xorg(){ else libglx_xorg "xorg" fi - remove_link "$XMOD/libwfb.so" LD_NVIDIA="${LIB}/libGL.so.1.2" nvidia_ldconfig $LD_NVIDIA "xorg" |