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/kanji18 | |
parent | ca7294c9440ff850ae2f402e4215b797e8a621cc (diff) | |
download | ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.tar.gz ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.zip |
Notes
Diffstat (limited to 'japanese/kanji18')
-rw-r--r-- | japanese/kanji18/files/DEINSTALL.tmpl | 1 | ||||
-rw-r--r-- | japanese/kanji18/pkg-plist | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/japanese/kanji18/files/DEINSTALL.tmpl b/japanese/kanji18/files/DEINSTALL.tmpl index ee96237b0b93..5acdd065022e 100644 --- a/japanese/kanji18/files/DEINSTALL.tmpl +++ b/japanese/kanji18/files/DEINSTALL.tmpl @@ -9,4 +9,5 @@ if [ "x$2" = "xPOST-DEINSTALL" ]; then echo "to enable this update." echo "**********************************************************" ) + [ `wc -c ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir | awk '{print $1}'` = 2 ] && rm -f ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir fi diff --git a/japanese/kanji18/pkg-plist b/japanese/kanji18/pkg-plist index 8f6d494f2f5f..cb2db49e39f9 100644 --- a/japanese/kanji18/pkg-plist +++ b/japanese/kanji18/pkg-plist @@ -3,6 +3,5 @@ share/doc/kanji18/18to16.sed share/doc/kanji18/README.kanji18 share/doc/kanji18/kanji16.alias share/doc/kanji18/kanji18.alias -@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir -@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir +@unexec if [ ! -s %D/%%FONTSDIR%%/fonts.alias ]; then rm -f %D/%%FONTSDIR%%/fonts.alias; fi @dirrm share/doc/kanji18 |