diff options
author | Clive Lin <clive@FreeBSD.org> | 2001-01-05 05:02:18 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2001-01-05 05:02:18 +0000 |
commit | e441734f5cb49be162affdd554560f7c63bdeacd (patch) | |
tree | a154f93a17aab21189f14316355de8a57bfaeb15 /chinese | |
parent | aabb3bc5bebe4519a8241389f2f716cb81a48b24 (diff) | |
download | ports-e441734f5cb49be162affdd554560f7c63bdeacd.tar.gz ports-e441734f5cb49be162affdd554560f7c63bdeacd.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/kcfonts/pkg-plist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chinese/kcfonts/pkg-plist b/chinese/kcfonts/pkg-plist index 97c36351319e..e5f3e5aaf9e8 100644 --- a/chinese/kcfonts/pkg-plist +++ b/chinese/kcfonts/pkg-plist @@ -6,4 +6,5 @@ lib/X11/fonts/local/kc_fonts.alias @exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir @exec cd %D/lib/X11/fonts/local ; cat kc_fonts.alias >> fonts.alias ; cp fonts.alias ..fonts.alias.. ; sort ..fonts.alias.. | uniq > fonts.alias ; rm ..fonts.alias.. @unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir +@unexec if [ -s %D/lib/X11/fonts/local/fonts.alias ]; then perl -e 'while (<>) { if (!/kc-fixed/) { print <>} }' < %D/lib/X11/fonts/local/fonts.alias > /tmp/fonts.alias.$$; mv /tmp/fonts.alias.$$ %D/lib/X11/fonts/local/fonts.alias; fi @unexec if [ ! -s %D/lib/X11/fonts/local/fonts.alias ]; then rm -f %D/lib/X11/fonts/local/fonts.alias; fi |