diff options
-rw-r--r-- | common/hooks/pre-pkg/99-pkglint.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/hooks/pre-pkg/99-pkglint.sh b/common/hooks/pre-pkg/99-pkglint.sh index 8c643f7deb9..a3ed816ed6e 100644 --- a/common/hooks/pre-pkg/99-pkglint.sh +++ b/common/hooks/pre-pkg/99-pkglint.sh @@ -137,6 +137,11 @@ hook() { error=1 fi + if [ -e ${PKGDESTDIR}/usr/share/glib-2.0/schemas/gschemas.compiled ]; then + msg_red "${pkgver}: /usr/share/glib-2.0/schemas/gschemas.compiled is forbidden. Delete it.\n" + error=1 + fi + # Forbid files would be generated by mimedb trigger for f in XMLnamespaces aliases generic-icons globs globs2 icons \ magic mime.cache subclasses treemagic types version ; do |