#!/bin/sh

GSVER=`gs --version`
GSDIR=${PREFIX}/share/ghostscript
FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS

# Run just once.
if [ "x$2" != "xPOST-INSTALL" ]; then
  exit 0
fi

echo "/MOEKai-Regular-ETen-B5-H (MOEKai-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP}
echo "/MOEKai-Regular-ETen-B5-V (MOEKai-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP}
echo "/MOESung-Regular-ETen-B5-H (MOESung-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP}
echo "/MOESung-Regular-ETen-B5-V (MOESung-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP}
