diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2010-01-09 15:10:18 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2010-01-09 15:10:18 +0000 |
commit | 755e7c5a630a1c213a3ea0947064bc0e0b28669c (patch) | |
tree | c3340b30dfcc4e44f402e5236c19b574d949d498 /usr.sbin/pkg_add/OpenBSD/Update.pm | |
parent | be542d8dad5c9618b76f8c8c4c6b77d6b1854f84 (diff) |
zap unused
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Update.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Update.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm index c181cf74305..3000286bd55 100644 --- a/usr.sbin/pkg_add/OpenBSD/Update.pm +++ b/usr.sbin/pkg_add/OpenBSD/Update.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Update.pm,v 1.131 2010/01/09 14:55:53 espie Exp $ +# $OpenBSD: Update.pm,v 1.132 2010/01/09 15:10:17 espie Exp $ # # Copyright (c) 2004-2010 Marc Espie <espie@openbsd.org> # @@ -109,7 +109,7 @@ sub process_handle # if (defined $plist->{url}) { # require OpenBSD::PackageLocator; # my $repo; -# ($repo, undef, undef) = OpenBSD::PackageLocator->path_parse($plist->{url}->name); +# ($repo, undef) = OpenBSD::PackageLocator->path_parse($plist->{url}->name); # $set->add_repositories($repo); # } my @search = (); @@ -278,7 +278,7 @@ sub process_hint2 if ($pkgname =~ m/[\/\:]/o) { require OpenBSD::PackageLocator; my $repo; - ($repo, undef, $pkgname) = OpenBSD::PackageLocator->path_parse($pkgname); + ($repo, $pkgname) = OpenBSD::PackageLocator->path_parse($pkgname); $set->add_repositories($repo); }; my $l = $state->updater->stem2location($set, $pkgname, $state, |