mirror of https://github.com/Icinga/icinga2.git
Fix paths in the Debian package files
This commit is contained in:
parent
4ba3d74c0e
commit
acc9393c8a
|
@ -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*
|
||||
|
|
|
@ -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*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue