aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portupgrade-devel
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-02-26 08:05:41 +0800
committerkris <kris@FreeBSD.org>2006-02-26 08:05:41 +0800
commite70a202293573eb1207d1ef474341bc64999d736 (patch)
tree6188178a9d29916f9ccbbe32eb6616979082a177 /ports-mgmt/portupgrade-devel
parent3c3ec801108cd0cf52ea0ee9228f8ff6505d3671 (diff)
downloadfreebsd-ports-graphics-e70a202293573eb1207d1ef474341bc64999d736.tar.gz
freebsd-ports-graphics-e70a202293573eb1207d1ef474341bc64999d736.tar.zst
freebsd-ports-graphics-e70a202293573eb1207d1ef474341bc64999d736.zip
Try to clean up lib/compat and lib/compat/pkg at deinstall.
Approved by: portmgr (implicit)
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r--ports-mgmt/portupgrade-devel/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade-devel/pkg-plist b/ports-mgmt/portupgrade-devel/pkg-plist
index 3892dddc2c3..a6d56a4d879 100644
--- a/ports-mgmt/portupgrade-devel/pkg-plist
+++ b/ports-mgmt/portupgrade-devel/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