diff options
Diffstat (limited to 'chinese/arphicttf/pkg-install')
-rw-r--r-- | chinese/arphicttf/pkg-install | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chinese/arphicttf/pkg-install b/chinese/arphicttf/pkg-install index 35212ea489b7..246a0ea46816 100644 --- a/chinese/arphicttf/pkg-install +++ b/chinese/arphicttf/pkg-install @@ -13,8 +13,6 @@ FONTS="bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf" DEFAULTMING="bsmi00lp.ttf gbsn00lp.ttf" DEFAULTKAI="bkai00mp.ttf gkai00mp.ttf" -[ "X$WANT_X" = "X" ] && WANT_X=YES - if [ ! -x $TTFM ]; then echo "$TTFM not found!" exit 1 @@ -22,11 +20,11 @@ fi rm -f $FONTDIR/$PKGNAME -if [ "$WANT_CJK" = "YES" -o "$WANT_CJK" = "yes" ]; then +if [ "X$WANT_CJK" != "X" ]; then # There's no CJK module now. fi -if [ "$WANT_GS6" = "YES" -o "$WANT_GS6" = "yes" ]; then +if [ "X$WANT_GS6" != "X" ]; then for f in $FONTS; do $TTFM --add ghostscript6 $FONTDIR/$f done @@ -39,7 +37,7 @@ if [ "$WANT_GS6" = "YES" -o "$WANT_GS6" = "yes" ]; then echo "ghostscript6" >> $FONTDIR/$PKGNAME fi -if [ "$WANT_X" = "YES" -o "$WANT_X" = "yes" ]; then +if [ "X$WITHOUT_X" = "X" ]; then for f in $FONTS; do $TTFM --add xttfm $FONTDIR/$f done |