summaryrefslogtreecommitdiff
path: root/graphics/gthumb/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gthumb/doinst.sh')
-rw-r--r--graphics/gthumb/doinst.sh14
1 files changed, 6 insertions, 8 deletions
diff --git a/graphics/gthumb/doinst.sh b/graphics/gthumb/doinst.sh
index e9903996f3..6fb1283156 100644
--- a/graphics/gthumb/doinst.sh
+++ b/graphics/gthumb/doinst.sh
@@ -1,11 +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
-}
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -16,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
+