#! /bin/dash markerdir=/var/lib/texmf/postinstall maps=$(cat ${markerdir}/*.map) if [ -n "${maps}" ] then /usr/bin/updmap-sys --nohash --nomkmap ${maps} for f in ${markerdir}/*.map do mv -f ${f} ${f}.done done echo y | /usr/bin/updmap-sys --syncwithtrees /usr/bin/updmap-sys fi fc_dirs=$(sort -u ${markerdir}/*.fc) if [ -n "${fc_dirs}" ] then /usr/bin/fc-cache -f ${fc_dirs} for f in ${markerdir}/*.fc do mv -f ${f} ${f}.done done fi