summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Debian/Debhelper/Sequence/python_support.pm2
-rw-r--r--debian/changelog3
2 files changed, 4 insertions, 1 deletions
diff --git a/Debian/Debhelper/Sequence/python_support.pm b/Debian/Debhelper/Sequence/python_support.pm
index 3d03ebb3..c93d2126 100644
--- a/Debian/Debhelper/Sequence/python_support.pm
+++ b/Debian/Debhelper/Sequence/python_support.pm
@@ -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
diff --git a/debian/changelog b/debian/changelog
index 7683e69a..4cc76c17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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