Skip to content

Commit

Permalink
fallback to one of ctan mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Aug 31, 2023
1 parent a3c7c50 commit 040243b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ apk --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing a
echo "==> Install TeXLive"
mkdir -p /tmp/install-tl
cd /tmp/install-tl
MIRROR_URL="$(curl -w "%{redirect_url}" -o /dev/null https://mirror.ctan.org/)"
MIRROR_URL="$(curl -w "%{redirect_url}" -o /dev/null https://mirror.ctan.org/ || echo "https://tug.ctan.org/")"
curl -OL "${MIRROR_URL}systems/texlive/tlnet/install-tl-unx.tar.gz"
curl -OL "${MIRROR_URL}systems/texlive/tlnet/install-tl-unx.tar.gz.sha512"
curl -OL "${MIRROR_URL}systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc"
Expand Down

0 comments on commit 040243b

Please sign in to comment.