summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Delete.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Delete.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index b4949b9361a..0f023c56b75 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.130 2014/02/03 15:57:13 espie Exp $
+# $OpenBSD: Delete.pm,v 1.131 2014/02/03 16:13:13 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -315,8 +315,6 @@ sub prepare_for_deletion
my ($self, $state, $pkgname) = @_;
my $fname = $state->{destdir}.$self->fullname;
$state->vstat->remove_directory($fname, $self);
- return unless $self->{noshadow};
- $state->{noshadow}{$fname} = 1;
}
sub delete