diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-14 09:49:28 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-14 09:49:28 +0000 |
commit | f546be6750752cc24fdc4abe657caf1690f32952 (patch) | |
tree | 4b98facb6a2f192da447467893c0bd6164d7d6c4 /usr.sbin/pkg_add/pkg_delete | |
parent | 868e330e506634b9491f6787def9b46ae30e21c4 (diff) |
tidy
Diffstat (limited to 'usr.sbin/pkg_add/pkg_delete')
-rw-r--r-- | usr.sbin/pkg_add/pkg_delete | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete index e6873b90c70..8693586a8d7 100644 --- a/usr.sbin/pkg_add/pkg_delete +++ b/usr.sbin/pkg_add/pkg_delete @@ -1,6 +1,6 @@ #!/usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_delete,v 1.97 2007/05/01 18:22:20 espie Exp $ +# $OpenBSD: pkg_delete,v 1.98 2007/05/14 09:49:27 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -172,9 +172,9 @@ eval { next; } my $r = OpenBSD::RequiredBy->new($pkgname); - if ($r->list() > 0) { + if ($r->list > 0) { if ($forced{baddepend}) { - for my $p ($r->list()) { + for my $p ($r->list) { if ($done{$p}) { $r->delete($p); } else { |