[Pkg-nagios-changes] [pkg-icinga2] 02/02: It helps to install at least the base files
Alexander Wirt
formorer at debian.org
Mon Jun 16 09:29:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch master
in repository pkg-icinga2.
commit 8c851081fdb17c4d9db66139fddde53843b4b4fe
Author: Alexander Wirt <formorer at debian.org>
Date: Mon Jun 16 11:29:48 2014 +0200
It helps to install at least the base files
---
debian/rules | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index aa7e63e..9383e6e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,10 +25,11 @@ override_dh_install:
# remove ido files from other packages
if [ -d debian/icinga2-common/ ]; then rm debian/icinga2-common/etc/icinga2/features-available/ido-*; fi
rm debian/icinga2-bin/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 ; \
- # mkdir -p debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/upgrade/$$dbms; \
- # cp components/db_ido_$$dbms/schema/$$dbms.sql debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/install/$$dbms ; \
+ for dbms in mysql pgsql; do \
+ mkdir -p debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/install ; \
+ mkdir -p debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/upgrade/$$dbms; \
+ cp components/db_ido_$$dbms/schema/$$dbms.sql debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/install/$$dbms ; \
+ done
# for file in components/db_ido_$$dbms/schema/upgrade/* ; do \
# cp $$file debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/upgrade/$$dbms/`basename $$file .sql`; \
# done; \
--
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