Skip to content

Commit

Permalink
Merge pull request #345 from timur-harin/fix_texmf_macos_path
Browse files Browse the repository at this point in the history
Change path for texmf
  • Loading branch information
yegor256 committed May 26, 2024
2 parents ef1b04d + 55958ba commit 64812dd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions installs/install-texlive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ if ! tlmgr --version >/dev/null 2>&1; then
fi
fi

if [ ! -e "${HOME}/texmf" ]; then
"${LOCAL}/help/sudo.sh" tlmgr init-usertree
if "${LOCAL}/help/is-macos.sh"; then
if [ ! -e "${HOME}/Library/texmf" ]; then
"${LOCAL}/help/sudo.sh" tlmgr init-usertree
fi
elif "${LOCAL}/help/is-linux.sh"; then
if [ ! -e "${HOME}/texmf" ]; then
"${LOCAL}/help/sudo.sh" tlmgr init-usertree
fi
fi
"${LOCAL}/help/sudo.sh" tlmgr option repository ctan
"${LOCAL}/help/sudo.sh" tlmgr --verify-repo=none update --self
Expand Down

0 comments on commit 64812dd

Please sign in to comment.