[pkg-nvidia-devel] r999 - in /packages/libvdpau/trunk/debian: changelog lib32vdpau1.postinst libvdpau1.postinst

anbe-guest at users.alioth.debian.org anbe-guest at users.alioth.debian.org
Fri Jun 4 11:02:01 UTC 2010


Author: anbe-guest
Date: Fri Jun  4 11:01:49 2010
New Revision: 999

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=999
Log:
Remove dh_make boilerplate code and comments from maintainer scripts.

Modified:
    packages/libvdpau/trunk/debian/changelog
    packages/libvdpau/trunk/debian/lib32vdpau1.postinst
    packages/libvdpau/trunk/debian/libvdpau1.postinst

Modified: packages/libvdpau/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/libvdpau/trunk/debian/changelog?rev=999&op=diff
==============================================================================
--- packages/libvdpau/trunk/debian/changelog (original)
+++ packages/libvdpau/trunk/debian/changelog Fri Jun  4 11:01:49 2010
@@ -9,6 +9,7 @@
     X11/Xlib.h.
   * Tighten the dependency of libvdpau-dev on libvdpau1 to only allow the
     matching binary:Version or binary NMUs thereof.
+  * Remove dh_make boilerplate code and comments from maintainer scripts.
 
  -- Russ Allbery <rra at debian.org>  Sat, 22 May 2010 19:32:29 -0700
 

Modified: packages/libvdpau/trunk/debian/lib32vdpau1.postinst
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/libvdpau/trunk/debian/lib32vdpau1.postinst?rev=999&op=diff
==============================================================================
--- packages/libvdpau/trunk/debian/lib32vdpau1.postinst (original)
+++ packages/libvdpau/trunk/debian/lib32vdpau1.postinst Fri Jun  4 11:01:49 2010
@@ -1,26 +1,8 @@
 #!/bin/sh
-# postinst script for lib32vdpau1
-#
-# see: dh_installdeb(1)
-
 set -e
 
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
 
-
-case "$1" in
-    configure)
-
+if [ "$1" = "configure" ]; then
 	# <target: squeeze>
 	# these files were not shipped in the package nvidia-libvdpau (before
 	# the emul/ia32-linux transition) but generated by ldconfig
@@ -31,20 +13,8 @@
 	test ! -L /emul/ia32-linux/usr/lib/libvdpau_trace.so || \
 		rm /emul/ia32-linux/usr/lib/libvdpau_trace.so || true
 	# </target: squeeze>
+fi
 
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
 
 #DEBHELPER#
 

Modified: packages/libvdpau/trunk/debian/libvdpau1.postinst
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/libvdpau/trunk/debian/libvdpau1.postinst?rev=999&op=diff
==============================================================================
--- packages/libvdpau/trunk/debian/libvdpau1.postinst (original)
+++ packages/libvdpau/trunk/debian/libvdpau1.postinst Fri Jun  4 11:01:49 2010
@@ -1,10 +1,10 @@
 #!/bin/sh
-# postinst script for libvdpau1
-
 set -e
 
 if [ "$1" = "configure" ]; then
 	# <target: squeeze>
+	# these files were left over by some old versions of the
+	# nvidia-libvdpau* packages
 	if [ -L /usr/lib/libvdpau_trace.so ]; then
 		rm /usr/lib/libvdpau_trace.so || true
 	fi
@@ -14,8 +14,6 @@
 	# </target: squeeze>
 fi
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
 
 #DEBHELPER#
 




More information about the Pkg-nvidia-devel mailing list