diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2018-09-11 09:43:09 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2018-09-11 09:43:09 +0000 |
commit | 3b8fa778cf7941180164f7d58d1b245dc4928d9a (patch) | |
tree | 5cfb1e7b6bae13cec0bc83f5ce05bc1258fe2b0a /usr.sbin/pkg_add/pkg_mklocatedb | |
parent | 5f864b868881a744a312a23b8ba71205c9c1646f (diff) |
add the conflict info to what's stored in pkglocatedb, as it's meta-info
that's not readily available otherwise.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_mklocatedb')
-rw-r--r-- | usr.sbin/pkg_add/pkg_mklocatedb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_mklocatedb b/usr.sbin/pkg_add/pkg_mklocatedb index 295b48237fa..c17522aab3f 100644 --- a/usr.sbin/pkg_add/pkg_mklocatedb +++ b/usr.sbin/pkg_add/pkg_mklocatedb @@ -1,6 +1,6 @@ #! /usr/bin/perl # Copyright (c) 2005-2010 Marc Espie <espie@openbsd.org> -# $OpenBSD: pkg_mklocatedb,v 1.45 2018/07/11 09:57:59 espie Exp $ +# $OpenBSD: pkg_mklocatedb,v 1.46 2018/09/11 09:43:08 espie Exp $ # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -101,6 +101,18 @@ sub print_name $self->keyword, " ", $self->{expanded}, "\n"; } +package OpenBSD::PackingElement::Conflict; +sub print_name +{ + &OpenBSD::PackingElement::Action::print_name; +} + +package OpenBSD::PackingElement::NoDefaultConflict; +sub print_name +{ + &OpenBSD::PackingElement::Action::print_name; +} + package OpenBSD::PackingElement::TagBase; sub print_name { |