diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-02-08 16:11:03 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-02-08 16:11:03 +0000 |
commit | 95264728556bc26929506c4f7bb8a82fc5ffa35f (patch) | |
tree | f45ea10e415bb50a2b68fbeadbdfd54f2c67388f /usr.sbin/pkg_add/OpenBSD/Handle.pm | |
parent | 809191b26fc895a7d848aaf1305c8621bd73284d (diff) |
scrape update_info when we have full plists.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Handle.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Handle.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Handle.pm b/usr.sbin/pkg_add/OpenBSD/Handle.pm index b11ecfe645f..4e1965f62a9 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.38 2014/02/06 16:55:01 espie Exp $ +# $OpenBSD: Handle.pm,v 1.39 2014/02/08 16:11:02 espie Exp $ # # Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org> # @@ -169,6 +169,7 @@ sub complete_old } else { $self->{plist} = $plist; delete $location->{contents}; + delete $location->{update_info}; } } } @@ -240,6 +241,7 @@ sub get_plist $handle->set_error(BAD_PACKAGE); return; } + delete $location->{update_info}; unless ($plist->has('url')) { OpenBSD::PackingElement::Url->add($plist, $location->url); } |