Skip to content

Commit

Permalink
Fix tompollard#109, make: *** [install] Error 127
Browse files Browse the repository at this point in the history
default to `pip`,
if `pip3` available then use it.
  • Loading branch information
luceat-lux-vestra committed Sep 16, 2021
1 parent 7c882bf commit 9fc3ede
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ sudo tlmgr update l3experimental
sudo tlmgr update l3backend
# Would it be simpler to just update all packages? (takes ~10m)
# sudo tlmgr update --all
pip install pandoc-fignos pandoc-eqnos pandoc-tablenos pandoc-secnos pandoc-shortcaption

PIP="pip"
if command -v pip3 &> /dev/null
then
PIP="pip3"
fi
$PIP install pandoc-fignos pandoc-eqnos pandoc-tablenos pandoc-secnos pandoc-shortcaption
8 changes: 7 additions & 1 deletion install_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ sudo tlmgr update l3experimental
sudo tlmgr update l3backend
# Would it be simpler to just update all packages? (takes ~10m)
# sudo tlmgr update --all
pip install pandoc-fignos pandoc-eqnos pandoc-tablenos pandoc-secnos pandoc-shortcaption

PIP="pip"
if command -v pip3 &> /dev/null
then
PIP="pip3"
fi
$PIP install pandoc-fignos pandoc-eqnos pandoc-tablenos pandoc-secnos pandoc-shortcaption

0 comments on commit 9fc3ede

Please sign in to comment.