summaryrefslogtreecommitdiff
path: root/academic/gchemutils/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 07:27:16 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:35 -0500
commitf37bbbc550f5394ccd333f4b0f38574b91cde231 (patch)
treecf99d951c05e6a157399051d002aa2e2ead52223 /academic/gchemutils/doinst.sh
parent5df0862d4362d0d3f449c865d9daef03778ec0be (diff)
downloadslackbuilds-f37bbbc550f5394ccd333f4b0f38574b91cde231.tar.gz
academic/gchemutils: Fixed (handle gconf schema)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/gchemutils/doinst.sh')
-rw-r--r--academic/gchemutils/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/academic/gchemutils/doinst.sh b/academic/gchemutils/doinst.sh
index 72031609d0..610c163a43 100644
--- a/academic/gchemutils/doinst.sh
+++ b/academic/gchemutils/doinst.sh
@@ -1,3 +1,11 @@
+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
@@ -14,3 +22,7 @@ fi
chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null
+schema_install gchemutils.schemas
+schema_install gcrystal.schemas
+schema_install gchempaint.schemas
+schema_install gchempaint-arrows.schemas