summaryrefslogtreecommitdiff
path: root/x11-fonts/bitmap-fonts
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/bitmap-fonts')
-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