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

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Mon Sep 6 01:41:28 UTC 2010


Author: anbe-guest
Date: Mon Sep  6 01:41:27 2010
New Revision: 1484

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1484
Log:
synchronize packaging with nvidia-graphics-drivers-legacy-96xx 96.43.18-1+ (r1483)

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

Modified: packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-ia32.postinst
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-ia32.postinst?rev=1484&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-ia32.postinst (original)
+++ packages/nvidia-graphics-drivers-legacy-71xx/trunk/debian/nvidia-glx-ia32.postinst Mon Sep  6 01:41:27 2010
@@ -21,8 +21,11 @@
 	undivert /emul/ia32-linux/usr/lib/libGL.so.1	/emul/ia32-linux/usr/lib/nvidia/libGL.so.1.ia32-libs
 	undivert /emul/ia32-linux/usr/lib/libGL.so	/emul/ia32-linux/usr/lib/nvidia/libGL.so.ia32-libs
 
-	test -d /emul/ia32-linux/usr/lib/nvidia && \
+	if [ -d /emul/ia32-linux/usr/lib/nvidia ]
+	then
 		rmdir /emul/ia32-linux/usr/lib/nvidia || true;
+		rmdir /emul/ia32-linux/usr/lib /emul/ia32-linux/usr /emul/ia32-linux /emul 2>/dev/null || true
+	fi
 	# </target: squeeze>
 
 	# <target: squeeze>
@@ -33,6 +36,7 @@
 
 	rmdir /emul/ia32-linux/usr/lib/X11R6/nvidia /emul/ia32-linux/usr/lib/X11R6 2>/dev/null || true
 	rmdir /emul/ia32-linux/usr/X11R6/lib/nvidia /emul/ia32-linux/usr/X11R6/lib /emul/ia32-linux/usr/X11R6 2>/dev/null || true
+	rmdir /emul/ia32-linux/usr/lib /emul/ia32-linux/usr /emul/ia32-linux /emul 2>/dev/null || true
 	# </target: squeeze>
 
     ;;




More information about the pkg-nvidia-devel mailing list