diff options
Diffstat (limited to 'office/texlive/doinst.sh')
-rw-r--r-- | office/texlive/doinst.sh | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/office/texlive/doinst.sh b/office/texlive/doinst.sh index 22da4eb4c26ee..ef65a367b2137 100644 --- a/office/texlive/doinst.sh +++ b/office/texlive/doinst.sh @@ -1,17 +1,8 @@ -# Temporarily add /usr/share/texmf/bin to $PATH or -# the updmap-sys and fmtutil-sys calls will not work -TEMP_PATH=$PATH -export PATH=/usr/share/texmf/bin:$PATH - # This one shouldn't be needed, but just in case... -chroot . /usr/share/texmf/bin/mktexlsr 1>/dev/null 2>/dev/null +chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null # This is to generate /usr/share/texmf-var/ stuff -chroot . /usr/share/texmf/bin/updmap-sys --nohash --syncwithtrees 1>/dev/null 2>/dev/null -chroot . /usr/share/texmf/bin/mktexlsr 1>/dev/null 2>/dev/null -chroot . /usr/share/texmf/bin/fmtutil-sys --all 1>/dev/null 2>/dev/null - -# Just in case... -export PATH=$TEMP_PATH -unset TEMP_PATH +chroot . /usr/bin/updmap-sys --nohash --syncwithtrees 1>/dev/null 2>/dev/null +chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null +chroot . /usr/bin/fmtutil-sys --all 1>/dev/null 2>/dev/null |