diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-04-20 08:29:03 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-04-20 08:29:03 +0000 |
commit | 11898ced181c6e19164b4e4e87fa13e5ec226d7d (patch) | |
tree | 1e2d4a7c962788768d45a184bb3a11b4707f89ec /usr.sbin/pkg_add/OpenBSD | |
parent | 75d5434389ce97d373dc70d23e6b3005bcfffa84 (diff) |
restore tagged user packages to functionality (for now)
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Add.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm index 3b9d3cec6ca..fa686c059a8 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.87 2009/04/19 14:58:32 espie Exp $ +# $OpenBSD: Add.pm,v 1.88 2009/04/20 08:29:02 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -148,8 +148,10 @@ sub tweak_plist_status sub tag_user_packages { - for my $pkgname (@_) { - $user_tagged->{extract_pkgname($pkgname)} = 1; + for my $set (@_) { + for my $handle ($set->newer) { + $user_tagged->{$handle->{pkgname}} = 1; + } } } |