diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2000-08-25 05:28:35 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2000-08-25 05:28:35 +0000 |
commit | 5305822c363724a6a68144f5e55c402747a2bdd4 (patch) | |
tree | 21a8b58c4e955481238ea4c62e37f0ccfc16f265 | |
parent | 6ea92306b086d74b44f2ca563b5ce67c99416e13 (diff) | |
download | ports-5305822c363724a6a68144f5e55c402747a2bdd4.tar.gz ports-5305822c363724a6a68144f5e55c402747a2bdd4.zip |
Notes
-rw-r--r-- | x11-fonts/intlfonts/files/DEINSTALL.tmpl | 5 | ||||
-rw-r--r-- | x11-fonts/intlfonts/pkg-plist | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/x11-fonts/intlfonts/files/DEINSTALL.tmpl b/x11-fonts/intlfonts/files/DEINSTALL.tmpl index b3ce13970536..e4eae17628cb 100644 --- a/x11-fonts/intlfonts/files/DEINSTALL.tmpl +++ b/x11-fonts/intlfonts/files/DEINSTALL.tmpl @@ -10,4 +10,9 @@ 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 + [ `wc -c ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.dir | awk '{print $1}'` = 2 ] && rm -f ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.dir + [ `wc -c ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale | awk '{print $1}'` = 2 ] && rm -f ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale +# Remove a backup file made by type1inst + rm -f ${PKG_PREFIX}/%%T1_FONTSDIR%%/fonts.scale.bak fi diff --git a/x11-fonts/intlfonts/pkg-plist b/x11-fonts/intlfonts/pkg-plist index 3725af284936..c1d1d9e6f078 100644 --- a/x11-fonts/intlfonts/pkg-plist +++ b/x11-fonts/intlfonts/pkg-plist @@ -1,3 +1,6 @@ +@exec [ -f %D/%%FONTSDIR%%/fonts.dir ] || mv %D/%%FONTSDIR%%/fonts.dir %D/%%FONTSDIR%%/fonts.dir.org +@exec [ -f %D/%%T1_FONTSDIR%%/fonts.dir ] || mv %D/%%T1_FONTSDIR%%/fonts.dir %D/%%FONTSDIR%%/fonts.dir.org +@exec [ -f %D/%%T1_FONTSDIR%%/fonts.scale ] || mv %D/%%T1_FONTSDIR%%/fonts.scale %D/%%FONTSDIR%%/fonts.scale.org %%FONTSDIR%%/a18rk.pcf.gz %%FONTSDIR%%/a18rkb.pcf.gz %%FONTSDIR%%/a18rki.pcf.gz @@ -221,3 +224,4 @@ %%DOCDIR%%/Emacs.ap %%DOCDIR%%/NEWS @dirrm %%DOCDIR%% +@dirrm %%TT_FONTSDIR%% |