mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 19:18:41 +00:00
[tex] Skip Arch install if already present
This commit is contained in:
parent
e9737deb4b
commit
cbafb473b8
1 changed files with 23 additions and 17 deletions
40
recipes/tex
40
recipes/tex
|
@ -12,23 +12,29 @@ case "$_PLATFORM" in
|
||||||
_brew_cask mactex
|
_brew_cask mactex
|
||||||
;;
|
;;
|
||||||
arch)
|
arch)
|
||||||
_recipe _arch
|
# Install texlive if it isn't already available (e.g. a local or
|
||||||
_pacman texlive-bibtexextra
|
# portable installation).
|
||||||
_pacman texlive-core
|
if ! command -v tlmgr >/dev/null; then
|
||||||
_pacman texlive-fontsextra
|
_recipe _arch
|
||||||
_pacman texlive-formatsextra
|
_pacman texlive-bibtexextra
|
||||||
_pacman texlive-games
|
_pacman texlive-core
|
||||||
_pacman texlive-humanities
|
_pacman texlive-fontsextra
|
||||||
_pacman texlive-latexextra
|
_pacman texlive-formatsextra
|
||||||
_pacman texlive-music
|
_pacman texlive-games
|
||||||
_pacman texlive-pictures
|
_pacman texlive-humanities
|
||||||
_pacman texlive-pstricks
|
_pacman texlive-latexextra
|
||||||
_pacman texlive-publishers
|
_pacman texlive-music
|
||||||
_pacman texlive-science
|
_pacman texlive-pictures
|
||||||
_yay tllocalmgr-git
|
_pacman texlive-pstricks
|
||||||
__tex_init=""
|
_pacman texlive-publishers
|
||||||
__tex_info="tllocalmgr info --localsearch"
|
_pacman texlive-science
|
||||||
__tex_install="yes | tllocalmgr install"
|
_yay tllocalmgr-git
|
||||||
|
__tex_init=""
|
||||||
|
__tex_info="tllocalmgr info --localsearch"
|
||||||
|
__tex_install="yes | tllocalmgr install"
|
||||||
|
else
|
||||||
|
echo "[tex] Texlive appears to already be installed, skipping."
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
debian)
|
debian)
|
||||||
_recipe _apt
|
_recipe _apt
|
||||||
|
|
Loading…
Reference in a new issue