Skip to content

Commit

Permalink
#101 no sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 6, 2023
1 parent ad55d02 commit e59aa18
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions steps/install.sh
Expand Up @@ -82,18 +82,14 @@ if ! xmlstarlet --version; then
fi
fi

sudo='sudo'
if [ -n "${linux}" ]; then
sudo=''
fi
"${sudo}" tlmgr option repository ctan
"${sudo}" tlmgr --verify-repo=none update --self
tlmgr option repository ctan
tlmgr --verify-repo=none update --self
declare -a packages=(href-ul huawei ffcode latexmk fmtcount trimspaces \
libertine paralist makecell footmisc currfile enumitem wrapfig \
lastpage biblatex titling svg catchfile transparent textpos fvextra \
xstring framed environ iexec anyfontsize changepage titlesec upquote hyperxmp biber)
"${sudo}" tlmgr --verify-repo=none install "${packages[@]}"
"${sudo}" tlmgr --verify-repo=none update "${packages[@]}"
tlmgr --verify-repo=none install "${packages[@]}"
tlmgr --verify-repo=none update "${packages[@]}"

if ! pygmentize -V; then
if [ -n "${linux}" ]; then
Expand Down

0 comments on commit e59aa18

Please sign in to comment.