Skip to content

Commit

Permalink
Update install_verse.sh approach to dummy texlive install
Browse files Browse the repository at this point in the history
  • Loading branch information
nickforr authored Dec 16, 2024
1 parent 02cd56d commit 6b2c24e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/install_verse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,14 @@ apt-get -y autoremove
## Add LaTeX, rticles and bookdown support
## tinytex recommends a dummy texlive if using tlmgr manually
if [[ ! -x "/usr/bin/latex" ]]; then
wget "https://travis-bin.yihui.name/texlive-local.deb"
apt-get install -y --no-install-recommends equivs
cd /tmp
wget https://github.com/scottkosty/install-tl-ubuntu/raw/master/debian-control-texlive-in.txt
equivs-build debian-*
mv texlive-local*.deb texlive-local.deb
dpkg -i texlive-local.deb
rm texlive-local.deb
apt-get -y purge equivs
apt-get -y autoremove
fi

## Install texlive
Expand Down

0 comments on commit 6b2c24e

Please sign in to comment.