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