[provisioning] Skip texlive install if available

This commit is contained in:
Correl Roush 2020-06-24 19:51:04 -04:00
parent 59c525064d
commit 6c5eeafa15

View file

@ -9,8 +9,12 @@ case "$(uname -s)" in
;;
*)
_recipe _apt
_ppa jonathonf/texlive
_apt texlive-full
# Install texlive if it isn't already available (e.g. a local or
# portable installation).
if ! command -v tlmgr >/dev/null; then
_ppa jonathonf/texlive
_apt texlive-full
fi
# xzdec is required by tlmgr
_apt xzdec
esac