summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Handle.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Handle.pm b/usr.sbin/pkg_add/OpenBSD/Handle.pm
index 3dc9128dfcc..160be718381 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.14 2009/12/29 13:58:18 espie Exp $
+# $OpenBSD: Handle.pm,v 1.15 2009/12/30 10:02:52 espie Exp $
#
# Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org>
#
@@ -190,6 +190,7 @@ sub get_plist
$handle->set_error(BAD_PACKAGE);
return;
}
+ OpenBSD::PackingElement::Url->add($plist, $location->url);
if ($plist->localbase ne $state->{localbase}) {
$state->say("Localbase mismatch: package has: ", $plist->localbase, " , user wants: ", $state->{localbase});
$location->close_with_client_error;