Files
MINGW-packages/mingw-w64-glib2/gio-querymodules.hook.in
Christoph Reiter a2f93d5712 glib: Add pacman hooks for gio-querymodules and glib-compile-schemas (#6492)
* glib: Add pacman hooks for gio-querymodules and glib-compile-schemas

This means we can remove all glib-compile-schemas install scripts in other
packages.

* glib: hide compile schemas deprecation warnings

We can't do anything about them and they just confuse users when run
during package installation.

Patch from Debian.
2020-05-20 09:09:11 +03:00

12 lines
293 B
Plaintext

[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = @MINGW_HOOK_TARGET_PREFIX@/lib/gio/modules/*.dll
[Action]
Description = Updating GIO module cache...
When = PostTransaction
Exec = @MINGW_PREFIX@/bin/gio-querymodules.exe @MINGW_PREFIX@/lib/gio/modules