[pkg-nvidia-devel] r757 - in /packages/nvidia-graphics-drivers/trunk/debian: nvidia-glx-dev.postinst nvidia-glx-dev.postrm

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Thu Mar 18 22:52:44 UTC 2010


Author: ceros-guest
Date: Thu Mar 18 22:52:43 2010
New Revision: 757

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=757
Log:
Use invoke-rc.d instead of calling init scripts directly in maintainer scripts.

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

Modified: packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-dev.postinst
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-dev.postinst?rev=757&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-dev.postinst (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-dev.postinst Thu Mar 18 22:52:43 2010
@@ -6,7 +6,7 @@
 case "$1" in
 	configure)
 		if [ -e /etc/init.d/nvidia-glx ] ; then
-			/etc/init.d/nvidia-glx start
+			invoke-rc.d nvidia-glx start
 		fi
 		;;
 esac		

Modified: packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-dev.postrm
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-dev.postrm?rev=757&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-dev.postrm (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx-dev.postrm Thu Mar 18 22:52:43 2010
@@ -10,7 +10,7 @@
 #	dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null
 #	dpkg-divert --remove --rename --package nvidia-glx-dev --divert /usr/lib/nvidia/libGL.so.xlibmesa /usr/lib/libGL.so > /dev/null
         rm /usr/lib/libGL.so || true
-	/etc/init.d/nvidia-glx start || true		
+	invoke-rc.d nvidia-glx start || true		
 #	ln -s /usr/lib/nvidia/libGL.so.1.2.xlibmesa /usr/lib/libGL.so
 	
 




More information about the Pkg-nvidia-devel mailing list