#! /bin/bash # Users who installed texlive-collection-*-20120628-1 when # /usr/share/texmf-site didn't exist found that the updmap-sys # commands in the postinstall scripts failed # (http://cygwin.com/ml/cygwin-apps/2012-08/msg00009.html). This # script runs those commands. map_cmds=$(sed -n -e 's|^/usr/bin/updmap-sys --nohash --nomkmap \(--enable .*\)$|\1|p' /etc/postinstall/texlive-collection-*.sh.done) if [ -n "$map_cmds" ] then /usr/bin/updmap-sys $map_cmds fi /usr/bin/updmap-sys --syncwithtrees