summaryrefslogtreecommitdiff
path: root/office/texlive/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2012-07-30 18:26:36 -0300
committerErik Hanson <erik@slackbuilds.org>2012-07-31 19:34:11 -0500
commitf7105b06862d001142bcf86d294373f222d9f34c (patch)
tree4d9bfea70459734d34673784983016a3bd51c45c /office/texlive/doinst.sh
parent9e3ad55842eb83fe6b90b28a2d5fad5ef7ff52dd (diff)
downloadslackbuilds-f7105b06862d001142bcf86d294373f222d9f34c.tar.gz
office/texlive: Updated for version 20120701.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/texlive/doinst.sh')
-rw-r--r--office/texlive/doinst.sh17
1 files changed, 4 insertions, 13 deletions
diff --git a/office/texlive/doinst.sh b/office/texlive/doinst.sh
index 22da4eb4c2..ef65a367b2 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