Fix a matching rule for fonts.dir lines in pkg-install. It removed

all of -ipa-* lines when deinstalling.

Feature safe:   yes
This commit is contained in:
Hiroki Sato 2010-02-19 15:29:56 +00:00
parent 6a19154ecc
commit 0b3065393b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250069
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
PORTNAME= font-ipa
PORTVERSION= 00301
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://info.openlab.ipa.go.jp/ipafont/fontdata/
DISTNAME= IPAfont${PORTVERSION}

View file

@ -9,7 +9,7 @@ catfontsdir ()
do
case "${_IN}" in
*-ipa-IPAUI*|*-ipa-[MU]*) echo ${_IN} ;;
*-ipa-*|[0-9]*|"") ;;
*-ipa-[Mm]incho-*|*-ipa-[Gg]othic-*|*-ipa-IPA*|[0-9]*|"") ;;
*) echo ${_IN} ;;
esac
done