cruxports/texlive-base/post-install
2022-02-05 15:39:19 -05:00

14 lines
405 B
Bash

#!/bin/bash
umask 0022
/usr/bin/mktexlsr
/usr/bin/updmap-sys --listavailablemaps 2>/dev/null \
| awk '{if ($1 ~ /Map$/) printf("%s\t%s\n",$1,$2)}' \
>> /usr/share/texmf-dist/web2c/updmap.cfg
/usr/bin/updmap-sys --nohash
/usr/bin/mktexlsr
/usr/bin/fmtutil-sys --all
# Create symlinks so that the engines can be called by more familiar names
texlinks -f /usr/share/texmf-dist/web2c/fmtutil.cnf /usr/bin