diff options
Diffstat (limited to 'development/gedit/doinst.sh')
-rw-r--r-- | development/gedit/doinst.sh | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/development/gedit/doinst.sh b/development/gedit/doinst.sh index f6bc99f8b3db8..2d36e69d79fb9 100644 --- a/development/gedit/doinst.sh +++ b/development/gedit/doinst.sh @@ -2,19 +2,15 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi + if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi fi -schema_install() { - SCHEMA="$1" - GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ - chroot . gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/$SCHEMA \ - 1>/dev/null -} - -schema_install gedit.schemas -schema_install gedit-file-browser.schemas |