aboutsummaryrefslogtreecommitdiff
path: root/chinese/kcfonts
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-06-01 06:46:32 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-06-01 06:46:32 +0000
commit9741d6da4d58901bff4562ec43d68c9f4c827c4b (patch)
treee5eadb893d71812952c2325053b16f2b42af4268 /chinese/kcfonts
parentca7294c9440ff850ae2f402e4215b797e8a621cc (diff)
downloadports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.tar.gz
ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.zip
Notes
Diffstat (limited to 'chinese/kcfonts')
-rw-r--r--chinese/kcfonts/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/chinese/kcfonts/pkg-plist b/chinese/kcfonts/pkg-plist
index 43edd48b3442..788d08f13866 100644
--- a/chinese/kcfonts/pkg-plist
+++ b/chinese/kcfonts/pkg-plist
@@ -6,3 +6,5 @@ lib/X11/fonts/local/kc_fonts.alias
@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@exec cd %D/lib/X11/fonts/local ; cat kc_fonts.alias >> fonts.alias ; cp fonts.alias ..fonts.alias.. ; sort ..fonts.alias.. | uniq > fonts.alias ; rm ..fonts.alias..
@unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
+@unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
+@unexec if [ ! -s %D/lib/X11/fonts/local/fonts.alias ]; then rm -f %D/lib/X11/fonts/local/fonts.alias; fi