summaryrefslogtreecommitdiff
path: root/system/gcdemu/doinst.sh
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2012-09-15 22:17:26 -0300
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:43:30 -0400
commitaf8bfeef74fa4fcbf2ca929e1ed752bce776ce58 (patch)
tree2066717b2a494792e41f15722f48a0338d888b81 /system/gcdemu/doinst.sh
parent6003b20973b8285206ee93c09c3e0a73645f48c1 (diff)
downloadslackbuilds-af8bfeef74fa4fcbf2ca929e1ed752bce776ce58.tar.gz
system/gcdemu: Updated for version 1.5.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/gcdemu/doinst.sh')
-rw-r--r--system/gcdemu/doinst.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/system/gcdemu/doinst.sh b/system/gcdemu/doinst.sh
index 85ee730b65..6fa145a19f 100644
--- a/system/gcdemu/doinst.sh
+++ b/system/gcdemu/doinst.sh
@@ -1,13 +1,9 @@
-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 gcdemu.schemas
-
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