diff options
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Delete.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm index bc0457e3ebe..61b778a07c9 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.32 2005/10/27 07:02:02 bernd Exp $ +# $OpenBSD: Delete.pm,v 1.33 2006/10/18 16:40:40 sturm Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -546,7 +546,7 @@ sub delete print "deleting extra file: $realname\n"; } return if $state->{not}; - return unless -e $realname; + return unless -e $realname or -l $realname; if ($state->{replacing}) { $state->print("Remember to update $realname\n"); $self->mark_dir($state); |