summaryrefslogtreecommitdiffstats
path: root/chinese/moettf
diff options
context:
space:
mode:
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 7b7bd1a..9c569c2 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
OpenPOWER on IntegriCloud