diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-03-14 20:15:22 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-03-14 20:15:22 +0000 |
commit | cfb3b391bd5d3a15a354d06b94443a0493c758ba (patch) | |
tree | 90732f141ef17c83851e88426ffff7a9a67972a9 | |
parent | 096dc9be7494b0f4e488513b404b56ae1be024ef (diff) | |
download | ports-cfb3b391bd5d3a15a354d06b94443a0493c758ba.tar.gz ports-cfb3b391bd5d3a15a354d06b94443a0493c758ba.zip |
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
-rw-r--r-- | x11-fonts/bitmap-fonts/files/DEINSTALL.tmpl | 2 |
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 |