This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Run it strongly with sudo if you have installed your texlive in standard system routes | |
# Otherwise it will be fine without privilege | |
# And run it only in the root folder of the pscyr archive | |
# On Ubuntu 14.10 it equals to '/usr/local/texlive/2014/texmf-dist' | |
TEXMF=`kpsewhich -expand-var='$TEXMFMAIN'` | |
echo "###> Installing PSCyr to '$TEXMF' folder" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# The installation script of PSCyr package (for texlive system). | |
# On Ubuntu 13.10 it equals to '/usr/share/texlive/texmf-dist' | |
TEXMF=`kpsewhich -expand-var='$TEXMFMAIN'` | |
echo "###> Installing PSCyr to '$TEXMF' folder" | |
mkdir -p $TEXMF/{tex/latex,fonts/tfm/public,fonts/vf/public,fonts/type1/public,fonts/afm/public,doc/fonts,fonts/enc,fonts/map/dvips}/pscyr |