[pkg-nvidia-devel] r1300 - /packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/nvidia-glx-ia32.postinst

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Mon Jul 5 18:54:53 UTC 2010


Author: anbe-guest
Date: Mon Jul  5 18:54:53 2010
New Revision: 1300

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1300
Log:
some more diversion cleanup, only for 173xx

Modified:
    packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/nvidia-glx-ia32.postinst

Modified: packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/nvidia-glx-ia32.postinst
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/nvidia-glx-ia32.postinst?rev=1300&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/nvidia-glx-ia32.postinst (original)
+++ packages/nvidia-graphics-drivers-legacy-173xx/trunk/debian/nvidia-glx-ia32.postinst Mon Jul  5 18:54:53 2010
@@ -4,6 +4,21 @@
 
 case "$1" in
     configure)
+
+	# <target: squeeze>
+	# initially the diversions were erroneously registered to nvidia-glx-ia32
+        if dpkg --compare-versions "$2" lt-nl 173.14.18-1 ; then
+		dpkg-divert --remove --rename --package nvidia-glx-ia32 --divert \
+			/emul/ia32-linux/usr/lib/nvidia/libGL.so.ia32-libs \
+			/emul/ia32-linux/usr/lib/libGL.so > /dev/null
+		dpkg-divert --remove --rename --package nvidia-glx-ia32 --divert \
+			/emul/ia32-linux/usr/lib/nvidia/libGL.so.1.ia32-libs \
+			/emul/ia32-linux/usr/lib/libGL.so.1 > /dev/null
+		dpkg-divert --remove --rename --package nvidia-glx-ia32 --divert \
+			/emul/ia32-linux/usr/lib/nvidia/libGL.so.1.2.ia32-libs \
+			/emul/ia32-linux/usr/lib/libGL.so.1.2 > /dev/null
+	fi
+	# </target: squeeze>
 
 	# <target: squeeze>
 	# remove diversion created before the




More information about the Pkg-nvidia-devel mailing list