adrema/.docker/fonts/compile.sh

21 lines
344 B
Bash
Executable File

#!/bin/bash
set -e
cd /usr/local/src/fonts
for font in /usr/local/src/fonts/*.zip; do
unzip $font
mv $(basename $font .zip)/* /usr/local/share/texmf
done
mktexlsr
for map in $(find /usr/local/share/texmf -type f -name '*.map'); do
cd $(dirname $map)
updmap-sys --force --enable Map=$(basename $map)
done
mktexlsr