summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Sequence/python_support.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Debian/Debhelper/Sequence/python_support.pm')
-rw-r--r--Debian/Debhelper/Sequence/python_support.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/Debian/Debhelper/Sequence/python_support.pm b/Debian/Debhelper/Sequence/python_support.pm
new file mode 100644
index 00000000..c93d2126
--- /dev/null
+++ b/Debian/Debhelper/Sequence/python_support.pm
@@ -0,0 +1,15 @@
+#!/usr/bin/perl
+# debhelper sequence file for python-support
+
+use warnings;
+use strict;
+use Debian::Debhelper::Dh_Lib;
+
+# Test if dh_pysupport is available before inserting it.
+# (This would not be needed if this file was contained in the python-support
+# package.)
+if (-x "/usr/bin/dh_pysupport") {
+ insert_before("dh_installinit", "dh_pysupport");
+}
+
+1