From 509a7c8b1892809536e34439daf35060025839d9 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 19 May 2007 09:18:56 +0000 Subject: don't pass srcpath around, since we don't use it. --- usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm') diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm index 91973257aad..1a882107ed5 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageRepositoryList.pm,v 1.14 2007/05/14 12:52:53 espie Exp $ +# $OpenBSD: PackageRepositoryList.pm,v 1.15 2007/05/19 09:18:55 espie Exp $ # # Copyright (c) 2003-2006 Marc Espie # @@ -34,10 +34,10 @@ sub add sub find { - my ($self, $pkgname, $arch, $srcpath) = @_; + my ($self, $pkgname, $arch) = @_; for my $repo (@{$self->{list}}) { - my $pkg = $repo->find($pkgname, $arch, $srcpath); + my $pkg = $repo->find($pkgname, $arch); return $pkg if defined $pkg; } return; -- cgit v1.2.3