Skip to content

Commit

Permalink
Make more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
zauguin committed Feb 24, 2024
1 parent c562d73 commit 8f16f72
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion texlive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ case "$(uname -o)" in
;;
esac
export PATH="$HOME/texlive/bin/$PLATFORM_NAME:$PATH"
echo "Searching TeX Live"
if ! command -v texlua > /dev/null; then
echo "Installing TeX Live"
# Obtain TeX Live
case "$(uname -o)" in
Msys)
curl -sO "$TEXLIVE_REPOSITORY/install-tl.zip"
curl -O "$TEXLIVE_REPOSITORY/install-tl.zip"
unzip install-tl.zip
;;
*)
Expand All @@ -45,8 +47,11 @@ if ! command -v texlua > /dev/null; then
cd ..
rm -Rf install-tl-20*
else
echo "Found TeX Live"
tlmgr option repository "$TEXLIVE_REPOSITORY"
fi
echo "Using PATH: $PATH"
ls "$HOME/texlive/bin/$PLATFORM_NAME"
tlmgr update --self

if [ -n "$TEXLIVE_PACKAGE_LIST_FILE" ]
Expand Down

0 comments on commit 8f16f72

Please sign in to comment.