diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Handle.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Handle.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Handle.pm b/usr.sbin/pkg_add/OpenBSD/Handle.pm index 0a41e514b4f..95863054ad1 100644 --- a/usr.sbin/pkg_add/OpenBSD/Handle.pm +++ b/usr.sbin/pkg_add/OpenBSD/Handle.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Handle.pm,v 1.28 2011/07/12 10:30:29 espie Exp $ +# $OpenBSD: Handle.pm,v 1.29 2011/08/26 08:46:09 espie Exp $ # # Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org> # @@ -147,7 +147,7 @@ sub create_old my $self= $class->new; $self->{name} = $pkgname; - my $location = $state->repo->installed->find($pkgname, $state->{arch}); + my $location = $state->repo->installed->find($pkgname); if (defined $location) { $self->{location} = $location; } @@ -223,7 +223,7 @@ sub get_location my $name = $handle->{name}; - my $location = $state->repo->find($name, $state->{arch}); + my $location = $state->repo->find($name); if (!$location) { $state->print("#1", $state->deptree_header($name)); $handle->set_error(NOT_FOUND); |