summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-09-14 13:11:07 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-09-14 13:11:07 -0400
commita71b4095bfbae02ed2a14bc2e883c899fb28300a (patch)
tree3bfb781bb110e1bfe350bb2e904bc136dc5225d7 /Debian
parent1c5a972e96705d4157117bf9e854ddf06c340adc (diff)
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
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Sequence/python_support.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Sequence/python_support.pm b/Debian/Debhelper/Sequence/python_support.pm
index 3d03ebb..c93d212 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