Skip to content

Commit

Permalink
Merge pull request #335 from timur-harin/fix_delete_install-tl_before…
Browse files Browse the repository at this point in the history
…_unzip

Add install-tl check before install
  • Loading branch information
yegor256 committed May 21, 2024
2 parents a9c608f + d57b129 commit 2f1c4c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion installs/install-texlive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ set -o pipefail
set -x

if ! "${LOCAL}/help/texlive-bin.sh"; then
wget --quiet http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip
if [ ! -f "install-tl.zip" ]; then
wget --quiet http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip
fi
rm -rf install-tl
unzip install-tl.zip -d install-tl
name=$(find install-tl/ -type d -name "install-tl-*" -exec basename {} \;)
perl "./install-tl/${name}/install-tl" --scheme=scheme-medium --no-interaction
Expand Down

0 comments on commit 2f1c4c9

Please sign in to comment.