aboutsummaryrefslogtreecommitdiff
path: root/japanese/kanji26
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-06-01 06:46:32 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-06-01 06:46:32 +0000
commit9741d6da4d58901bff4562ec43d68c9f4c827c4b (patch)
treee5eadb893d71812952c2325053b16f2b42af4268 /japanese/kanji26
parentca7294c9440ff850ae2f402e4215b797e8a621cc (diff)
downloadports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.tar.gz
ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.zip
Notes
Diffstat (limited to 'japanese/kanji26')
-rw-r--r--japanese/kanji26/files/DEINSTALL.tmpl1
-rw-r--r--japanese/kanji26/pkg-plist3
2 files changed, 2 insertions, 2 deletions
diff --git a/japanese/kanji26/files/DEINSTALL.tmpl b/japanese/kanji26/files/DEINSTALL.tmpl
index ee96237b0b93..5acdd065022e 100644
--- a/japanese/kanji26/files/DEINSTALL.tmpl
+++ b/japanese/kanji26/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/kanji26/pkg-plist b/japanese/kanji26/pkg-plist
index 19988c37c59d..edfcc8662d30 100644
--- a/japanese/kanji26/pkg-plist
+++ b/japanese/kanji26/pkg-plist
@@ -3,6 +3,5 @@ share/doc/kanji26/26to24.sed
share/doc/kanji26/README.kanji26
share/doc/kanji26/kanji24.alias
share/doc/kanji26/kanji26.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/kanji26