aboutsummaryrefslogtreecommitdiff
path: root/office/texlive-docs/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'office/texlive-docs/doinst.sh')
-rw-r--r--office/texlive-docs/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/office/texlive-docs/doinst.sh b/office/texlive-docs/doinst.sh
index a6076ff24fc28..a660c34671349 100644
--- a/office/texlive-docs/doinst.sh
+++ b/office/texlive-docs/doinst.sh
@@ -1 +1,3 @@
-chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
+if [ -x /usr/bin/mktexlsr ]; then
+ chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
+fi