From a71b4095bfbae02ed2a14bc2e883c899fb28300a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Sep 2009 13:11:07 -0400 Subject: 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 --- Debian/Debhelper/Sequence/python_support.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Sequence') 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 -- cgit v1.2.3