diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-09-27 20:37:30 +0800 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-09-27 20:37:30 +0800 |
commit | 42cb3ec87617218a8a05b904c49fa73196b3db75 (patch) | |
tree | 2709faf47761d88e8be75e3487bc5b1877b7e49b /chinese | |
parent | 382ea24b9411214e0b352cdd8e43bafdd3cc4b63 (diff) | |
download | freebsd-ports-gnome-42cb3ec87617218a8a05b904c49fa73196b3db75.tar.gz freebsd-ports-gnome-42cb3ec87617218a8a05b904c49fa73196b3db75.tar.zst freebsd-ports-gnome-42cb3ec87617218a8a05b904c49fa73196b3db75.zip |
Remove empty fonts.alias and fonts.dir files.
Submitted by: bento
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/moettf/pkg-plist | 2 |
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 |