post-install 689 B

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