aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
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 /sysutils
parent3c3ec801108cd0cf52ea0ee9228f8ff6505d3671 (diff)
downloadfreebsd-ports-gnome-e70a202293573eb1207d1ef474341bc64999d736.tar.gz
freebsd-ports-gnome-e70a202293573eb1207d1ef474341bc64999d736.tar.zst
freebsd-ports-gnome-e70a202293573eb1207d1ef474341bc64999d736.zip
Try to clean up lib/compat and lib/compat/pkg at deinstall.
Approved by: portmgr (implicit)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/portupgrade-devel/pkg-plist3
-rw-r--r--sysutils/portupgrade/pkg-plist3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/portupgrade-devel/pkg-plist b/sysutils/portupgrade-devel/pkg-plist
index 3892dddc2c3d..a6d56a4d879e 100644
--- a/sysutils/portupgrade-devel/pkg-plist
+++ b/sysutils/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
diff --git a/sysutils/portupgrade/pkg-plist b/sysutils/portupgrade/pkg-plist
index 3892dddc2c3d..a6d56a4d879e 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