aboutsummaryrefslogtreecommitdiff
path: root/development/devhelp/doinst.sh
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2023-10-10 15:13:36 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-10-11 23:12:44 +0700
commit38be87c4786b3f4a5729c1647831a679537f5c03 (patch)
tree6deb9153ba40e9b2326b356414d700b0e40b167e /development/devhelp/doinst.sh
parent106b0d1ad54d1b89db66baabe908cfea1c4d0f1d (diff)
development/devhelp: Update for 43.0; new maintainer
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/devhelp/doinst.sh')
-rw-r--r--development/devhelp/doinst.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/development/devhelp/doinst.sh b/development/devhelp/doinst.sh
index 975eb75d2fdc..401d9877955b 100644
--- a/development/devhelp/doinst.sh
+++ b/development/devhelp/doinst.sh
@@ -1,13 +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
-}
-
-schema_install devhelp.schemas
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -17,3 +7,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
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