[Debian-ha-commits] [pcs] 01/01: Override dh_python2 to resolve postinst issue

Richard Winters devrik-guest at moszumanska.debian.org
Sun May 3 18:51:37 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 c10402fc639dc2055abec33303df8f556dabb125
Author: Richard B Winters <rik at mmogp.com>
Date:   Sun May 3 14:07:10 2015 -0400

    Override dh_python2 to resolve postinst issue
    
     - Invoke dh_python2 initially with --skip-private
     - Call dh_python2 a second time and pass /usr/share/pcsd
    
    Change-Id: I69d38a074e92b50a5115605e71d5c3a18e6ef0ea
    Signed-off-by: Richard B Winters <rik at mmogp.com>
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index f01d5e9..143e586 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,10 @@ override_dh_auto_install:
 # Add the readme
 	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/pcs/
 	cp $(CURDIR)/README $(CURDIR)/debian/tmp/usr/share/doc/pcs/README
+
+override_dh_python2:
+	dh_python2 -p pcs --skip-private
+	dh_python2 -p pcs /usr/share/pcsd
 	
 override_dh_installinit:
 	dh_installinit --onlyscripts --name=pcsd --

-- 
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