diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-09-16 20:03:51 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-09-16 20:03:51 +0000 |
commit | 3dce63cf1c36a736a1698251df7e2e23afd39d91 (patch) | |
tree | 34d59672eca93a1919eac86d2a5d325bb8b3a9a0 /usr.sbin/pkg_add/OpenBSD | |
parent | 5aad75dec37e702ebfed9d34c201e00ef3dd11cb (diff) |
oops
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageLocator.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm index 97b8ec634b9..f84210ccd12 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageLocator.pm,v 1.33 2005/09/16 10:00:59 espie Exp $ +# $OpenBSD: PackageLocator.pm,v 1.34 2005/09/16 20:03:50 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -640,7 +640,7 @@ sub available if (!defined $self->{avail}) { my $available_packages = {}; foreach my $loc (reverse @{$self->{list}}) { - foreach my $pkg (@{$loc->available()}) { + foreach my $pkg (@{$loc->list()}) { $available_packages->{$pkg} = $loc; } } |