summaryrefslogtreecommitdiff
path: root/network/liferea/doinst.sh
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2013-11-15 07:33:59 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-14 23:00:13 -0600
commit67494a6421be6fb297098b95dd20bc58c00f1d1b (patch)
tree374c9863c0b3257915142eeb728bb43d486ff0fd /network/liferea/doinst.sh
parentff45a8fbd7d2decefbdf7e13aa405d3ef79a596d (diff)
downloadslackbuilds-67494a6421be6fb297098b95dd20bc58c00f1d1b.tar.gz
network/liferea: Updated for version 1.10.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/liferea/doinst.sh')
-rw-r--r--network/liferea/doinst.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/network/liferea/doinst.sh b/network/liferea/doinst.sh
index 737429b66e..0254ea06d8 100644
--- a/network/liferea/doinst.sh
+++ b/network/liferea/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 liferea.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 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