install -m 0644 $(CURDIR)/SQL/sqlite.update.sql $(CURDIR)/debian/roundcube-core/usr/share/dbconfig-common/data/roundcube/upgrade/sqlite/0.1~rc1~dfsg-1
# Some files are executable while not being scripts or binary...
find $(CURDIR)/debian/roundcube-core/usr/share/roundcube/program/localization -type f -print0 | xargs -0 chmod -x
+ # Remove useless file
+ rm $(CURDIR)/debian/roundcube-core/usr/share/roundcube/program/lib/magic
+ rm $(CURDIR)/debian/roundcube-core/usr/share/roundcube/bin/msgimport
# Remove files shipped in tinymce package
rm -rf $(CURDIR)/debian/roundcube-core/usr/share/roundcube/program/js/tiny_mce
dh_link -proundcube-core usr/share/tinymce/www usr/share/roundcube/program/js/tiny_mce