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 | |
parent | ca7294c9440ff850ae2f402e4215b797e8a621cc (diff) | |
download | ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.tar.gz ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/elisa10x8/pkg-plist | 2 | ||||
-rw-r--r-- | japanese/elisa8x8/pkg-plist | 2 | ||||
-rw-r--r-- | japanese/k10/pkg-plist | 2 | ||||
-rw-r--r-- | japanese/k12/pkg-plist | 2 | ||||
-rw-r--r-- | japanese/kanji18/files/DEINSTALL.tmpl | 1 | ||||
-rw-r--r-- | japanese/kanji18/pkg-plist | 3 | ||||
-rw-r--r-- | japanese/kanji26/files/DEINSTALL.tmpl | 1 | ||||
-rw-r--r-- | japanese/kanji26/pkg-plist | 3 | ||||
-rw-r--r-- | japanese/kappa20/pkg-plist | 2 |
9 files changed, 14 insertions, 4 deletions
diff --git a/japanese/elisa10x8/pkg-plist b/japanese/elisa10x8/pkg-plist index 3ee9e0aa71a3..fc6045206459 100644 --- a/japanese/elisa10x8/pkg-plist +++ b/japanese/elisa10x8/pkg-plist @@ -5,4 +5,6 @@ share/doc/elisa8/elisau10.doc share/doc/elisa8/hosoku.txt @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/elisa8 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 diff --git a/japanese/k10/pkg-plist b/japanese/k10/pkg-plist index c6eeff8c1142..1e08bfe96a3f 100644 --- a/japanese/k10/pkg-plist +++ b/japanese/k10/pkg-plist @@ -6,4 +6,6 @@ share/doc/naga10/README @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/naga10 diff --git a/japanese/k12/pkg-plist b/japanese/k12/pkg-plist index 4a15dfc85a93..91b887128e26 100644 --- a/japanese/k12/pkg-plist +++ b/japanese/k12/pkg-plist @@ -11,4 +11,6 @@ share/doc/k12/readme.kaname_bdf share/doc/k12/readme.knm @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/k12 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 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 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 |