summaryrefslogtreecommitdiffstats
path: root/office/gnumeric/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'office/gnumeric/doinst.sh')
-rw-r--r--office/gnumeric/doinst.sh18
1 files changed, 6 insertions, 12 deletions
diff --git a/office/gnumeric/doinst.sh b/office/gnumeric/doinst.sh
index 7bbbf3a3e4..e924bab47c 100644
--- a/office/gnumeric/doinst.sh
+++ b/office/gnumeric/doinst.sh
@@ -1,15 +1,3 @@
-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 2>/dev/null
-}
-
-schema_install gnumeric-dialogs.schemas
-schema_install gnumeric-general.schemas
-schema_install gnumeric-plugins.schemas
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -20,3 +8,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
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
+