Skip to content

Commit

Permalink
#23 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 25, 2024
1 parent 976e380 commit 50e6be1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ cd "${INPUT_PATH-.}"
tlmgr option repository ctan
tlmgr --verify-repo=none update --self

if [ "${INPUT_PACKAGES}" ]; then
if [ -n "${INPUT_PACKAGES}" ]; then
tlmgr --verify-repo=none install ${INPUT_PACKAGES}
tlmgr --verify-repo=none update ${INPUT_PACKAGES}
fi

if [ "${INPUT_DEPENDS}" ]; then
if [ -n "${INPUT_DEPENDS}" ]; then
names=$(cut -d' ' -f2 "${INPUT_DEPENDS}" | uniq)
tlmgr --verify-repo=none install ${names}
tlmgr --verify-repo=none update ${names}
Expand Down

0 comments on commit 50e6be1

Please sign in to comment.