diff options
author | Michal Vasilek <michal@vasilek.cz> | 2022-11-05 12:59:57 +0000 |
---|---|---|
committer | Michal Vasilek <michal@vasilek.cz> | 2022-11-22 21:51:04 +0000 |
commit | 0eddd66177be88690ccb64f5baf38861c8831edc (patch) | |
tree | 8f53251996b5c92c2e1d035f61b3406ff24ecd54 | |
parent | e278b0912501fa8525e7c258ba6d8fed4e745324 (diff) | |
download | void-packages-0eddd66177be88690ccb64f5baf38861c8831edc.tar void-packages-0eddd66177be88690ccb64f5baf38861c8831edc.tar.gz void-packages-0eddd66177be88690ccb64f5baf38861c8831edc.tar.bz2 void-packages-0eddd66177be88690ccb64f5baf38861c8831edc.tar.lz void-packages-0eddd66177be88690ccb64f5baf38861c8831edc.tar.xz void-packages-0eddd66177be88690ccb64f5baf38861c8831edc.tar.zst void-packages-0eddd66177be88690ccb64f5baf38861c8831edc.zip |
hooks/99-pkglint.sh: error when pkg ships gschemas.compiled
gschemas.compiled is generated by glib-compile-schemas and should not be
overriden by a package
-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 |