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 /x11-fonts/bitmap-fonts | |
parent | Upgrade py-kqueue to 1.1 -- forgot to regenerate the checksum. (diff) |
Remove empty fonts.dir and fonts.alias files. (Note chinese/kcfonts still
leaves fonts.alias behind -- it is not removing any entries from that file.)
Diffstat (limited to 'x11-fonts/bitmap-fonts')
-rw-r--r-- | x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl b/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl index ee96237b0b93..5acdd065022e 100644 --- a/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl +++ b/x11-fonts/bitmap-fonts/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 |