diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-13 01:00:38 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 01:00:38 +0200 |
commit | 1d39427c14970a5903e946d208e75bb22f3ca1df (patch) | |
tree | e665ba651468391110689a36d58e0e7fc2294f01 /office/texlive/doinst.sh | |
parent | 1e3c8e288506841973da94649373f506986b5ff0 (diff) | |
download | slackbuilds-1d39427c14970a5903e946d208e75bb22f3ca1df.tar.gz |
office/texlive: Added to 13.0 repository
Diffstat (limited to 'office/texlive/doinst.sh')
-rw-r--r-- | office/texlive/doinst.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/office/texlive/doinst.sh b/office/texlive/doinst.sh new file mode 100644 index 0000000000..5d68eafc83 --- /dev/null +++ b/office/texlive/doinst.sh @@ -0,0 +1,17 @@ +# 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 + +# 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 /usr/share/texmf-var 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 + |