Only link files with zm_update-*.sql pattern

This commit is contained in:
Emmanuel Papin 2014-12-03 16:42:31 +01:00
parent 0f53347133
commit 6c417e02e4
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ override_dh_install:
debian/zoneminder/usr/share/dbconfig-common/data/zoneminder/install/mysql
#
# Install sql update files for dbconfig
for sqlfile in db/*; do \
for sqlfile in db/zm_update-*.sql; do \
lnk=`echo $$sqlfile | sed "s/^db\/zm_update-\(.*\)\.sql/\1/"`; \
dh_link usr/share/zoneminder/$$sqlfile \
usr/share/dbconfig-common/data/zoneminder/upgrade/mysql/$$lnk; \