aboutsummaryrefslogtreecommitdiff
path: root/office/evince/doinst.sh
diff options
context:
space:
mode:
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 f31099c904f8..0254ea06d878 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