aboutsummaryrefslogtreecommitdiff
path: root/academic/gchemutils/doinst.sh
diff options
context:
space:
mode:
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 72031609d0dbc..610c163a43dcd 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