diff options
Diffstat (limited to 'japanese/kappa20/pkg-plist')
-rw-r--r-- | japanese/kappa20/pkg-plist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/japanese/kappa20/pkg-plist b/japanese/kappa20/pkg-plist index b5f7efc4e8b8..2d6ac7237574 100644 --- a/japanese/kappa20/pkg-plist +++ b/japanese/kappa20/pkg-plist @@ -8,4 +8,6 @@ share/doc/kappa20/README share/doc/kappa20/fonts.alias.kappa @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/kappa20 |