post-install 460 B

1234567891011121314151617
  1. #!/bin/bash
  2. schema_install() {
  3. SCHEMA="$1"
  4. GCONF_CONFIG_SOURCE="xml::/usr/etc/gconf/gconf.xml.defaults" \
  5. gconftool-2 --makefile-install-rule \
  6. /usr/etc/gconf/schemas/$SCHEMA
  7. }
  8. schema_install gnumeric-dialogs.schemas
  9. schema_install gnumeric-general.schemas
  10. schema_install gnumeric-plugins.schemas
  11. update-desktop-database -q /usr/share/applications
  12. gtk-update-icon-cache -f /usr/share/icons/hicolor
  13. glib-compile-schemas /usr/share/glib-2.0/schemas