diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Delete.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Delete.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm index 32c40f8a5c0..77644983efb 100644 --- a/usr.sbin/pkg_add/OpenBSD/Delete.pm +++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Delete.pm,v 1.107 2010/07/25 05:20:34 espie Exp $ +# $OpenBSD: Delete.pm,v 1.108 2010/08/01 10:03:24 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -311,9 +311,9 @@ sub prepare_for_deletion { my ($self, $state, $pkgname) = @_; my $fname = $state->{destdir}.$self->fullname; -# $state->vstat->remove_directory($fname); + $state->vstat->remove_directory($fname, $self); return unless $self->{noshadow}; - $state->{noshadow}->{$state->{destdir}.$self->fullname} = 1; + $state->{noshadow}{$fname} = 1; } sub delete |