diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-06-01 06:46:32 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-06-01 06:46:32 +0000 |
commit | 9741d6da4d58901bff4562ec43d68c9f4c827c4b (patch) | |
tree | e5eadb893d71812952c2325053b16f2b42af4268 /japanese/k12/pkg-plist | |
parent | ca7294c9440ff850ae2f402e4215b797e8a621cc (diff) | |
download | ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.tar.gz ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.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.)
Notes
Notes:
svn path=/head/; revision=29026
Diffstat (limited to 'japanese/k12/pkg-plist')
-rw-r--r-- | japanese/k12/pkg-plist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/japanese/k12/pkg-plist b/japanese/k12/pkg-plist index 4a15dfc85a93..91b887128e26 100644 --- a/japanese/k12/pkg-plist +++ b/japanese/k12/pkg-plist @@ -11,4 +11,6 @@ share/doc/k12/readme.kaname_bdf share/doc/k12/readme.knm @exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir @unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir +@unexec if [ `wc -c %D/%%FONTSDIR%%/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/%%FONTSDIR%%/fonts.dir; fi +@unexec if [ ! -s %D/%%FONTSDIR%%/fonts.alias ]; then rm -f %D/%%FONTSDIR%%/fonts.alias; fi @dirrm share/doc/k12 |