summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 2cb0ecd74..911fb2202 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,3 +27,11 @@ ifdef DEB_PYTHON_SYSTEM
endif
endif
dh_python -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS)
+
+# Invoke dh_installinit after compiling python modules
+binary-install/bcfg2 ::
+ dh_installinit -p$(cdbs_curpkg) -o --no-start
+
+binary-install/bcfg2-server ::
+ dh_installinit -p$(cdbs_curpkg) -o
+