[Debian-ha-commits] [pcs] 04/05: Updated rules to always install initscript with -n

Richard Winters devrik-guest at moszumanska.debian.org
Fri May 8 10:41:47 UTC 2015


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

devrik-guest pushed a commit to branch master
in repository pcs.

commit 71fa446ed5b072cf2c0be732730ec8137dc59a9b
Author: Richard B Winters <rik at mmogp.com>
Date:   Fri May 8 06:29:51 2015 -0400

    Updated rules to always install initscript with -n
    
     - We're always installing the init script, and always install
       said init script with --no-scripts
    
    Change-Id: I53788747ce6843edc83d1510f66a08d17c75ab3e
    Signed-off-by: Richard B Winters <rik at mmogp.com>
---
 debian/rules | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 931d18c..e83768b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,13 +40,8 @@ override_dh_python2:
 	dh_python2 -p pcs --skip-private
 	dh_python2 -p pcs /usr/share/pcsd
 
-INSTALLINIT_COMMAND = $(shell \
-	if ps -p 1 -o comm= | grep -q -i "systemd" ; \
-	then echo "dh_installinit -n --name=pcsd --"; \
-	else echo "dh_installinit --onlyscripts --name=pcsd --"; fi)
-
 override_dh_installinit:
-	$(INSTALLINIT_COMMAND)
+	dh_installinit -n --name=pcsd --
 
 override_dh_compress:
 # make non-scripts non-executable

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



More information about the Debian-HA-Commits mailing list