hooks/post-install/04-create-xbps-medata-scripts.sh: automatically

handle gtk{,3}-immodules
This commit is contained in:
maxice8 2018-08-18 21:11:27 -03:00
parent 8c7689c120
commit 2a37c4734c
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 14 additions and 0 deletions

View File

@ -222,6 +222,20 @@ _EOF
_add_trigger gio-modules
fi
#
# Handle gtk immodules in /usr/lib/gtk-2.0/2.10.0/immodules with
# gtk-immodules
#
if [ -d ${PKGDESTDIR}/usr/lib/gtk-2.0/2.10.0/immodules ]; then
_add_trigger gtk-immodules
fi
#
# Handle gtk3 immodules in /usr/lib/gtk-3.0/3.0.0/immodules with
# gtk3-immodules
#
if [ -d ${PKGDESTDIR}/usr/lib/gtk-3.0/3.0.0/immodules ]; then
_add_trigger gtk3-immodules
fi
#
# Handle gsettings schemas in /usr/share/glib-2.0/schemas with
# gsettings-schemas.
#