summaryrefslogtreecommitdiff
path: root/extra/r/r.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/r/r.install')
-rw-r--r--extra/r/r.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/r/r.install b/extra/r/r.install
index 89fea599b..522ce52e7 100644
--- a/extra/r/r.install
+++ b/extra/r/r.install
@@ -1,7 +1,9 @@
post_install() {
update-desktop-database -q
- echo ">>> updating the filename database for texlive..."
- mktexlsr --quiet usr/share/texmf
+ if [[ -x /usr/bin/mktexlsr ]]; then
+ echo ">>> updating the filename database for texlive..."
+ mktexlsr --quiet usr/share/texmf
+ fi
}
post_upgrade() {