File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ if [ -z $TINYTEX_VERSION ]; then
3939 TINYTEX_URL=" https://github.com/rstudio/tinytex-releases/releases/download/daily/$TINYTEX_INSTALLER "
4040else
4141 # the installer was accidentally named "install-unix" instead of "installer-unix" before v2025.01
42- if [ " $TINYTEX_INSTALLER " = " installer-unix" ] && [[ " $TINYTEX_VERSION " -le " 2025.01 " ] ]; then
42+ if [ " $TINYTEX_INSTALLER " = " installer-unix" ] && [ " $TINYTEX_VERSION " \< " 2025.02 " ]; then
4343 TINYTEX_INSTALLER=" install-unix"
4444 fi
4545 TINYTEX_URL=" https://github.com/rstudio/tinytex-releases/releases/download/v$TINYTEX_VERSION /$TINYTEX_INSTALLER -v$TINYTEX_VERSION "
@@ -49,7 +49,7 @@ if [ $OSNAME = 'Darwin' ]; then
4949 curl -L -f --retry 10 --retry-delay 30 ${TINYTEX_URL} .tgz -o TinyTeX.tgz
5050 tar xf TinyTeX.tgz -C $( dirname $TEXDIR )
5151 rm TinyTeX.tgz
52- else if [[ " $TINYTEX_INSTALLER " =~ ^ " TinyTeX- " ] ]; then
52+ else if [ " ${ TINYTEX_INSTALLER# " TinyTeX- " } " != " $TINYTEX_INSTALLER " ]; then
5353 wget --retry-connrefused --progress=dot:giga -O TinyTeX.tar.gz ${TINYTEX_URL} .tar.gz
5454 tar xf TinyTeX.tar.gz -C $( dirname $TEXDIR )
5555 rm TinyTeX.tar.gz
You can’t perform that action at this time.
0 commit comments