[Pkg-nagios-changes] [pkg-icinga2] 01/01: Fix rules for binary-{arch, indep}

Markus Frosch lazyfrosch at moszumanska.debian.org
Tue Dec 1 13:55:45 UTC 2015


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

lazyfrosch pushed a commit to branch master
in repository pkg-icinga2.

commit dafe178bc6b8369444edaade03dd1e3c5333f0c0
Author: Markus Frosch <lazyfrosch at debian.org>
Date:   Tue Dec 1 14:54:13 2015 +0100

    Fix rules for binary-{arch,indep}
    
    Closes: #806623
---
 debian/rules | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6236ff7..3a6427d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,11 +34,13 @@ override_dh_auto_install:
 	# remove features-enabled - these will be activated by postinst later
 	rm -r debian/tmp/etc/icinga2/features-enabled/*
 
-override_dh_install:
-	dh_install
-	if [ -d debian/icinga2-common/ ]; then chmod +x debian/icinga2-common/usr/lib/icinga2/prepare-dirs; fi
-	# remove ido files from other packages
-	if [ -d debian/icinga2-common/ ]; then rm debian/icinga2-common/etc/icinga2/features-available/ido-*; fi
+override_dh_install-indep:
+	dh_install -i
+	chmod +x debian/icinga2-common/usr/lib/icinga2/prepare-dirs
+	rm debian/icinga2-common/etc/icinga2/features-available/ido-*
+
+override_dh_install-arch:
+	dh_install -a
 	rm debian/libicinga2/usr/lib/*/icinga2/libdb_ido_*
 	for dbms in mysql pgsql; do \
 		mkdir -p debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/install ; \

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



More information about the Pkg-nagios-changes mailing list