summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Add.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-10-11 18:38:07 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-10-11 18:38:07 +0000
commitd4e52bb73a11e03c08dab8bdd73f3038ba6cf7ff (patch)
treefab5bc5c9d15787d67285a815682f4f96e70e1ca /usr.sbin/pkg_add/OpenBSD/Add.pm
parent6c1940c1b6cf5e6ada4b946843fc570d506d1417 (diff)
repair tagging of user-specified packagenames, so that manual-install actually occurs some of the time...
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Add.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm
index fa686c059a8..a2e06f3ecfd 100644
--- a/usr.sbin/pkg_add/OpenBSD/Add.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Add.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Add.pm,v 1.88 2009/04/20 08:29:02 espie Exp $
+# $OpenBSD: Add.pm,v 1.89 2009/10/11 18:38:06 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -149,8 +149,8 @@ sub tweak_plist_status
sub tag_user_packages
{
for my $set (@_) {
- for my $handle ($set->newer) {
- $user_tagged->{$handle->{pkgname}} = 1;
+ for my $n ($set->newer_names) {
+ $user_tagged->{OpenBSD::PackageName::url2pkgname($n)} = 1;
}
}
}