summaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-02-26 00:05:41 +0000
committerkris <kris@FreeBSD.org>2006-02-26 00:05:41 +0000
commite70a202293573eb1207d1ef474341bc64999d736 (patch)
tree6188178a9d29916f9ccbbe32eb6616979082a177 /sysutils/portupgrade
parent3c3ec801108cd0cf52ea0ee9228f8ff6505d3671 (diff)
downloadFreeBSD-ports-e70a202293573eb1207d1ef474341bc64999d736.zip
FreeBSD-ports-e70a202293573eb1207d1ef474341bc64999d736.tar.gz
Try to clean up lib/compat and lib/compat/pkg at deinstall.
Approved by: portmgr (implicit)
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r--sysutils/portupgrade/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/portupgrade/pkg-plist b/sysutils/portupgrade/pkg-plist
index 3892dddc2..a6d56a4 100644
--- a/sysutils/portupgrade/pkg-plist
+++ b/sysutils/portupgrade/pkg-plist
@@ -1,6 +1,7 @@
etc/rc.d/000.pkgtools.sh
@exec /bin/mkdir -p %D/lib/compat/pkg
-@unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true
+@dirrmtry lib/compat/pkg
+@dirrmtry lib/compat
sbin/pkg_deinstall
sbin/pkg_fetch
sbin/pkg_glob
OpenPOWER on IntegriCloud