Fix paths in the Debian package files

This commit is contained in:
Gunnar Beutner 2014-10-13 12:45:04 +02:00
parent 4ba3d74c0e
commit acc9393c8a
3 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,3 @@
components/db_ido_mysql/schema/*.sql usr/share/icinga2-ido-mysql/schema
lib/db_ido_mysql/schema/*.sql usr/share/icinga2-ido-mysql/schema
debian/ido-mysql.conf-sample usr/share/icinga2/tmpl
usr/lib/*/icinga2/libdb_ido_mysql*

View File

@ -1,4 +1,3 @@
components/db_ido_pgsql/schema/*.sql usr/share/icinga2-ido-pgsql/schema
lib/db_ido_pgsql/schema/*.sql usr/share/icinga2-ido-pgsql/schema
debian/ido-pgsql.conf-sample usr/share/icinga2/tmpl
usr/lib/*/icinga2/libdb_ido_pgsql*

4
debian/rules vendored
View File

@ -43,8 +43,8 @@ override_dh_install:
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 file in components/db_ido_$$dbms/schema/upgrade/* ; do \
cp lib/db_ido_$$dbms/schema/$$dbms.sql debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/install/$$dbms ; \
for file in lib/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; \
done