[pkg-nvidia-devel] r912 - in /packages/nvidia-graphics-drivers/trunk/debian: changelog nvidia-glx.postinst

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Fri May 21 09:52:17 UTC 2010


Author: anbe-guest
Date: Fri May 21 09:52:15 2010
New Revision: 912

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=912
Log:
  * nvidia-glx: cleanup /etc/default/nvidia-glx.dpkg-new that might be left
    over from previous upgrades

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

Modified: packages/nvidia-graphics-drivers/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/changelog?rev=912&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/changelog Fri May 21 09:52:15 2010
@@ -14,6 +14,8 @@
   * add bug-control script to collect more information about related packages
   * nvidia-vdpau-driver: cleanup /usr/lib/libvdpau_nvidia.so left over by some
     old versions of the nvidia-libvdpau* packages
+  * nvidia-glx: cleanup /etc/default/nvidia-glx.dpkg-new that might be left
+    over from previous upgrades
 
  -- Andreas Beckmann <debian at abeckmann.de>  Thu, 20 May 2010 09:52:43 +0200
 

Modified: packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.postinst
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.postinst?rev=912&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.postinst (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.postinst Fri May 21 09:52:15 2010
@@ -48,6 +48,11 @@
         if dpkg --compare-versions "$2" lt-nl 195.36.24-1 ; then
             rm_conffile /etc/default/nvidia-glx
         fi 
+        if dpkg --compare-versions "$2" lt-nl 195.36.24-2 ; then
+	    if [ -f /etc/default/nvidia-glx.dpkg-new ]; then
+		rm -f /etc/default/nvidia-glx.dpkg-new
+	    fi
+	fi
 	# </target: squeeze>
 
         # <target: squeeze>




More information about the Pkg-nvidia-devel mailing list