aboutsummaryrefslogtreecommitdiff
path: root/system/gnomint/doinst.sh
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-07-22 11:47:52 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:25:25 -0500
commitb49f59790d1aa16a5b76ab40f9e84c502e34030e (patch)
tree3abd5c062ba8aa8fb4c1fedfd902fa7c3a0b981b /system/gnomint/doinst.sh
parentb79cfa33532436436f279a53eec41f437267734b (diff)
system/gnomint: Apply patches from debian.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/gnomint/doinst.sh')
-rw-r--r--system/gnomint/doinst.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/gnomint/doinst.sh b/system/gnomint/doinst.sh
index bae04666ba2c..6d1bccdc33dd 100644
--- a/system/gnomint/doinst.sh
+++ b/system/gnomint/doinst.sh
@@ -6,9 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-if [ -x usr/bin/gconftool-2 ]; then
- ( cd $PKG/etc/gconf/schemas
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- usr/bin/gconftool-2 --makefile-install-rule \
- etc/gconf/schemas/gnomint.schemas >/dev/null 2>&1 )
+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