[Pkg-mongodb-maintainers] [pkg-mongodb] 327/394: d/rules: use a dedicated override for dh_systemd_enable

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 14:00:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit 0742fde46c3dafecd9dfdff6b2e4d75b6353b2d8
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Thu Jan 14 13:38:52 2016 +0200

    d/rules: use a dedicated override for dh_systemd_enable
---
 debian/rules | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index c663936..a2998b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,12 +47,15 @@ override_dh_auto_test:
 override_dh_auto_install:
 	scons $(DEB_SCONS_INSTALL)
 
+override_dh_systemd_enable:
+	dh_systemd_enable -pmongodb-server --name=mongodb
+
 override_dh_installinit:
-	dh_systemd_enable --name=mongodb
 	dh_installinit -pmongodb-server --name=mongodb
 
 %:
 	dh $@ --parallel --with=systemd
 
 .PHONY: override_dh_clean override_dh_auto_build override_dh_auto_test \
-	override_dh_auto_install override_dh_installinit
+	override_dh_auto_install override_dh_installinit \
+	override_dh_systemd_enable

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mongodb/pkg-mongodb.git



More information about the Pkg-mongodb-maintainers mailing list