texlive-updmap.script 399 B

12345678910111213141516
  1. #!/bin/bash
  2. UPDMAP="etc/texmf/web2c/updmap.cfg"
  3. UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
  4. cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
  5. cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
  6. if [[ -f "$UPDMAPLOCAL" ]]; then
  7. cat "$UPDMAPLOCAL" >> $UPDMAP
  8. fi
  9. # Run mktexlsr since /etc/texmf/web2c/updmap.cfg can be a new file
  10. /usr/bin/mktexlsr
  11. /usr/bin/updmap-sys --quiet --nohash