]> git.donarmstrong.com Git - debhelper.git/commitdiff
Reorder dh_pysupport call in dh sequence to come before dh_installinit, so the genera...
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 14 Sep 2009 17:11:07 +0000 (13:11 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 14 Sep 2009 17:11:07 +0000 (13:11 -0400)
Debian/Debhelper/Sequence/python_support.pm
debian/changelog

index 3d03ebb3bc2589687021c9ad608fe1d635691d62..c93d2126d018f83310b6c6ede457215d7086f140 100644 (file)
@@ -9,7 +9,7 @@ use Debian::Debhelper::Dh_Lib;
 # (This would not be needed if this file was contained in the python-support
 # package.)
 if (-x "/usr/bin/dh_pysupport") {
-       insert_after("dh_perl", "dh_pysupport");
+       insert_before("dh_installinit", "dh_pysupport");
 }
 
 1
index 7683e69a2498ebf224c4843721266c7f9ec2c6d2..4cc76c172463aeea8655d6d350517248414f3ff3 100644 (file)
@@ -7,6 +7,9 @@ debhelper (7.4.2) UNRELEASED; urgency=low
     documentation directories. This is easier to use and more flexible
     than the old method of running dh_link first to make a broken symlink.
     Closes: #545676 Thanks, Colin Watson
+  * Reorder dh_pysupport call in dh sequence to come before
+    dh_installinit, so the generated postinst script registers
+    python modules before trying to use them. Closes: #546293
 
  -- Joey Hess <joeyh@debian.org>  Mon, 07 Sep 2009 12:48:39 -0400