Skip to content

Commit

Permalink
unless running on CI servers, reset the CTAN mirror in binary install…
Browse files Browse the repository at this point in the history
…ations since we have fixed it in ff56504; should we fix the CTAN mirror no matter what? I don't know; if only there were a mirror that is based on CDN (then I wouldn't need to worry about which mirror to use)

for CI servers, we continue to use the fixed mirror
  • Loading branch information
yihui committed Apr 3, 2021
1 parent fb2b3d6 commit ca4a834
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/install-bin-unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ esac

cd $TEXDIR/bin/*/
[ $OSNAME != "Darwin" ] && ./tlmgr option sys_bin ~/bin
[ $(tr "[:upper:]" "[:lower:]" <<<"$CI") != "true" ] && ./tlmgr option repository ctan
./tlmgr path add
1 change: 1 addition & 0 deletions tools/install-bin-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ move /y TinyTeX "%APPDATA%"

echo add tlmgr to PATH
call "%APPDATA%\TinyTeX\bin\win32\tlmgr" path add
if /i not "%CI%"=="true" call "%APPDATA%\TinyTeX\bin\win32\tlmgr" option repository ctan

exit /b %ERRORLEVEL%

0 comments on commit ca4a834

Please sign in to comment.