From 9741d6da4d58901bff4562ec43d68c9f4c827c4b Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Thu, 1 Jun 2000 06:46:32 +0000 Subject: 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.) --- japanese/elisa8x8/pkg-plist | 2 ++ 1 file changed, 2 insertions(+) (limited to 'japanese/elisa8x8') diff --git a/japanese/elisa8x8/pkg-plist b/japanese/elisa8x8/pkg-plist index 6ab9a5be9206..452c6beab774 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 -- cgit v1.2.3