aboutsummaryrefslogtreecommitdiff
path: root/chinese/moettf
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-09-27 12:37:30 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-09-27 12:37:30 +0000
commit42cb3ec87617218a8a05b904c49fa73196b3db75 (patch)
tree2709faf47761d88e8be75e3487bc5b1877b7e49b /chinese/moettf
parent382ea24b9411214e0b352cdd8e43bafdd3cc4b63 (diff)
downloadports-42cb3ec87617218a8a05b904c49fa73196b3db75.tar.gz
ports-42cb3ec87617218a8a05b904c49fa73196b3db75.zip
Notes
Diffstat (limited to 'chinese/moettf')
-rw-r--r--chinese/moettf/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/chinese/moettf/pkg-plist b/chinese/moettf/pkg-plist
index 7b7bd1a1624b..9c569c226db3 100644
--- a/chinese/moettf/pkg-plist
+++ b/chinese/moettf/pkg-plist
@@ -1,4 +1,6 @@
lib/X11/fonts/TrueType/moe_kai.ttf
lib/X11/fonts/TrueType/moe_lishu.ttf
lib/X11/fonts/TrueType/moe_sung.ttf
+@unexec if [ `wc -c %D/lib/X11/fonts/TrueType/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/TrueType/fonts.dir; fi
+@unexec if [ ! -s %D/lib/X11/fonts/TrueType/fonts.alias ]; then rm -f %D/lib/X11/fonts/TrueType/fonts.alias; fi
@unexec rmdir %D/lib/X11/fonts/TrueType 2>/dev/null || true