diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84a5140..93ff7b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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; \