aboutsummaryrefslogtreecommitdiff
path: root/office/evince/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-05-10 17:09:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-05-17 09:54:03 -0500
commit9ac64013666e0a79f2cbfd034335ac379c3fbeac (patch)
tree2d4be3726557e739482c2f35fb2fb76c4b3c1a0a /office/evince/doinst.sh
parentd79e834943a46e18229d6f252626362047f13fb9 (diff)
office/evince: Added various patches to fix things.
No idea which patch(es) fixes the segfault, don't really care to find out. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'office/evince/doinst.sh')
-rw-r--r--office/evince/doinst.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/office/evince/doinst.sh b/office/evince/doinst.sh
index f31099c904f86..0254ea06d8788 100644
--- a/office/evince/doinst.sh
+++ b/office/evince/doinst.sh
@@ -8,5 +8,8 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
-chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
-
+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