Fix TL install checks

Signed-off-by: Fifo F <34-fifo@users.noreply.git.fifo-f.eu>
This commit is contained in:
Fifo F. 2024-09-07 09:24:09 +02:00
parent f0be085526
commit 0b5c6315e2

View file

@ -29,7 +29,7 @@ build:
echo "Image version: $OVERLEAF_VERSION"
docker pull sharelatex/sharelatex:latest
docker run --name temp --entrypoint /bin/bash sharelatex/sharelatex:latest -c "\
if [ ! -d /usr/local/texlive ]; then \
if ! tlmgr info scheme-full | grep -q 'installed:[[:space:]]*Yes'; then \
tlmgr option repository $TEXLIVE_REPO && \
tlmgr install scheme-full && \
tlmgr path add; \