summaryrefslogtreecommitdiff
path: root/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl
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 /x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl
parentUpgrade 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.)
Notes
Notes: svn path=/head/; revision=29026
Diffstat (limited to '')
-rw-r--r--x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl1
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