aboutsummaryrefslogtreecommitdiff
path: root/graphics/gthumb/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-12 23:12:23 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-13 17:58:56 -0500
commit610636c59138251d052ec5464ae13178bdabbd18 (patch)
treeb5b617f88c6c595721d3602fef41cf3054c2753f /graphics/gthumb/doinst.sh
parent47ad04263f55ccd49b9af3d2b20b18d1ee8d1452 (diff)
graphics/gthumb: Updated for version 3.0.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 e9903996f3ab1..6fb1283156765 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
+