aboutsummaryrefslogtreecommitdiffstats
path: root/korean/hanyangfonts
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-06-01 14:46:32 +0800
committerasami <asami@FreeBSD.org>2000-06-01 14:46:32 +0800
commit92170126a08edf49e32c345c624893dd842ed7de (patch)
tree671aad50e217d29cd957e667904457479f03ed5e /korean/hanyangfonts
parent272323e5ce0d55c612b70d1af2ccbde6a5ae673a (diff)
downloadfreebsd-ports-gnome-92170126a08edf49e32c345c624893dd842ed7de.tar.gz
freebsd-ports-gnome-92170126a08edf49e32c345c624893dd842ed7de.tar.zst
freebsd-ports-gnome-92170126a08edf49e32c345c624893dd842ed7de.zip
Remove empty fonts.dir and fonts.alias files. (Note chinese/kcfonts still
leaves fonts.alias behind -- it is not removing any entries from that file.)
Diffstat (limited to 'korean/hanyangfonts')
-rw-r--r--korean/hanyangfonts/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/korean/hanyangfonts/pkg-plist b/korean/hanyangfonts/pkg-plist
index 4eda815168cb..1a659f351248 100644
--- a/korean/hanyangfonts/pkg-plist
+++ b/korean/hanyangfonts/pkg-plist
@@ -12,3 +12,4 @@ lib/X11/fonts/local/hgm18.pcf.gz
lib/X11/fonts/local/hgm20.pcf.gz
@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@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