2 # Update GTK+-3.0 modules cache
3 gtk-query-immodules-3.0 --update-cache
6 for schema_directory in /usr/local/share/glib* /usr/share/glib*
8 test -d "$schema_directory" || continue;
9 glib-compile-schemas "${schema_directory}"/schemas
11 unset schema_directory
13 # Update GDK pixbuf loaders cache, just in case
14 chroot . /usr/bin/gdk-pixbuf-query-loaders --update-cache > /dev/null 2>&1
16 echo "Updating desktop database: update-desktop-database -q usr/share/applications"
17 chroot "$rootdir" /usr/bin/update-desktop-database -q usr/share/applications 2> /dev/null
19 echo "Updating ICON cache: gtk-update-icon-cache -q -f -i usr/share/icons/hicolor"
20 chroot "$rootdir" /usr/bin/gtk-update-icon-cache -q -f -i usr/share/icons/hicolor 2> /dev/null