diff options
Diffstat (limited to 'chinese/moettf')
-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 |