Skip to content

Commit

Permalink
close #431: raise an error when perl is not found
Browse files Browse the repository at this point in the history
also see #419
  • Loading branch information
yihui committed Nov 28, 2023
1 parent 24c7550 commit 3136eef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/install-bin-unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -e

perl -mFile::Find /dev/null ||
(echo "perl is required but not found (https://github.com/rstudio/tinytex/issues/419)" && exit 1)

cd ${TMPDIR:-/tmp}

[ -z $(which tlmgr) ] || TL_INSTALLED_PKGS=$(tlmgr info --list --only-installed --data name | tr '\n' ' ')
Expand Down

0 comments on commit 3136eef

Please sign in to comment.