summaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-03-14 20:15:22 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-03-14 20:15:22 +0000
commitcfb3b391bd5d3a15a354d06b94443a0493c758ba (patch)
tree90732f141ef17c83851e88426ffff7a9a67972a9 /x11-fonts
parentUpdate to 1.3.7. (diff)
fix pkg_delete if lib/X11/fonts/local/fonts.dir is not empty.
===> Deinstalling for bitmap-fonts-1.0.p4 pkg_delete: post-deinstall script returned error status
Notes
Notes: svn path=/head/; revision=39853
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl b/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl
index 5acdd065022e..f4f700fcd2a9 100644
--- a/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl
+++ b/x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl
@@ -9,5 +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
+ [ `wc -c ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir | awk '{print $1}'` = 2 ] && rm -f ${PKG_PREFIX}/%%FONTSDIR%%/fonts.dir || true
fi