Skip to content

Commit

Permalink
Link TeXlive binaries in $PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
cdlm committed Mar 22, 2024
1 parent 93badc6 commit d3cd9f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ steps:
- name: build
image: ubuntu
commands:
- apt-get update && apt-get install -y curl perl
- apt update && apt install -y curl perl
- echo $PATH
- export PATH=$HOME/texlive/bin/x86_64-linux:$HOME/texlive/bin/aarch64-linux:$PATH
- ./ci/install-texlive
- latexmk sbabook
- latexmk sbabook.bod
Expand Down
5 changes: 4 additions & 1 deletion ci/install-texlive
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ tlpdbopt_generate_updmap 0
tlpdbopt_install_docfiles 0
tlpdbopt_install_srcfiles 0
tlpdbopt_post_code 1
tlpdbopt_sys_bin /usr/local/bin
tlpdbopt_sys_info /usr/local/info
tlpdbopt_sys_man /usr/local/man
EOF
}

Expand All @@ -97,6 +99,7 @@ function install-texlive() {
}

function install-deps() {
tlmgr update --self --all
tlmgr install latex-bin latexmk
xargs tlmgr install < "$(deps-file "$TEXLIVE_RELEASE")"
}
Expand Down

0 comments on commit d3cd9f8

Please sign in to comment.