diff options
author | asami <asami@FreeBSD.org> | 2000-06-01 06:46:32 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-06-01 06:46:32 +0000 |
commit | 92170126a08edf49e32c345c624893dd842ed7de (patch) | |
tree | 671aad50e217d29cd957e667904457479f03ed5e /japanese/elisa8x8 | |
parent | 272323e5ce0d55c612b70d1af2ccbde6a5ae673a (diff) | |
download | FreeBSD-ports-92170126a08edf49e32c345c624893dd842ed7de.zip FreeBSD-ports-92170126a08edf49e32c345c624893dd842ed7de.tar.gz |
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 'japanese/elisa8x8')
-rw-r--r-- | japanese/elisa8x8/pkg-plist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/japanese/elisa8x8/pkg-plist b/japanese/elisa8x8/pkg-plist index 6ab9a5b..452c6be 100644 --- a/japanese/elisa8x8/pkg-plist +++ b/japanese/elisa8x8/pkg-plist @@ -6,4 +6,6 @@ share/doc/elisa/elisat10.doc share/doc/elisa/elisat10.html @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/elisa |