[pkg-nvidia-devel] r1479 - /packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-ia32.postinst

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Sun Sep 5 09:42:07 UTC 2010


Author: anbe-guest
Date: Sun Sep  5 09:41:48 2010
New Revision: 1479

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1479
Log:
remove /emul if it's empty after we removed our stuff

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

Modified: packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-ia32.postinst
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-ia32.postinst?rev=1479&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-ia32.postinst (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-ia32.postinst Sun Sep  5 09:41:48 2010
@@ -18,8 +18,11 @@
 		/emul/ia32-linux/usr/lib/nvidia/libGL.so.1.2.ia32-libs \
 		/emul/ia32-linux/usr/lib/libGL.so.1.2 > /dev/null
 
-	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>
 
     ;;




More information about the pkg-nvidia-devel mailing list