c7451bad00
TeX fonts based on Baekmuk TrueType fonts.
27 lines
585 B
Bash
27 lines
585 B
Bash
#!/bin/sh
|
|
# $NetBSD: DEINSTALL,v 1.1.1.1 2006/02/28 01:45:13 rxg Exp $
|
|
|
|
PKGNAME=$1
|
|
STAGE=$2
|
|
|
|
SPECIALMAP=@TEXMFDIRS@/fonts/map/fontname/special.map
|
|
TTFONTSMAP=@TEXMFDIRS@/ttf2tfm/base/ttfonts.map
|
|
|
|
case ${STAGE} in
|
|
DEINSTALL)
|
|
;;
|
|
POST-DEINSTALL)
|
|
echo "Edit ${SPECIALMAP}"
|
|
sed -e "/aekmuk/d" ${SPECIALMAP} > ${SPECIALMAP}.tmp
|
|
mv -f ${SPECIALMAP}.tmp ${SPECIALMAP}
|
|
|
|
echo "Edit ${TTFONTSMAP}"
|
|
sed -e "/Baekmuk/d" ${TTFONTSMAP} > ${TTFONTSMAP}.tmp
|
|
sed -e "/UKS/d" ${TTFONTSMAP}.tmp > ${TTFONTSMAP}
|
|
rm -f ${TTFONTSMAP}.tmp
|
|
;;
|
|
*)
|
|
echo "Unexpected argument: ${STAGE}"
|
|
exit 1
|
|
;;
|
|
esac
|