--- trunk/include/gnome2.minc 2012/01/14 01:36:11 40 +++ trunk/include/gnome2.minc 2012/04/27 15:55:16 45 @@ -98,10 +98,28 @@ fi } +gn2_update_schemas() +{ + if [ -x ${MROOT}/usr/bin/glib-compile-schemas ] + then + ${MROOT}/usr/bin/glib-compile-schemas ${MROOT}/usr/share/glib-2.0/schemas + fi +} + +gn2_update_gio() +{ + if [ -x ${MROOT}/usr/bin/gio-querymodules ] + then + ${MROOT}/usr/bin/gio-querymodules ${MROOT}/usr/$(mlibdir)/gio/modules + fi +} + gn2_postinstall() { gn2_update_gconf gn2_update_scrollkeeper + gn2_update_schemas + gn2_update_gio gn2_update_desktop_db gn2_update_mime_db gn2_update_icon_cache @@ -110,6 +128,8 @@ gn2_postremove() { gn2_update_scrollkeeper + gn2_update_schemas + gn2_update_gio gn2_update_desktop_db gn2_update_mime_db gn2_update_icon_cache