aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/exheres_layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/exheres_layout.cc')
-rw-r--r--paludis/repositories/e/exheres_layout.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/paludis/repositories/e/exheres_layout.cc b/paludis/repositories/e/exheres_layout.cc
index 1fd3e090a..54b0553e3 100644
--- a/paludis/repositories/e/exheres_layout.cc
+++ b/paludis/repositories/e/exheres_layout.cc
@@ -663,6 +663,16 @@ ExheresLayout::e_updates_location_key() const
return make_null_shared_ptr();
}
+std::shared_ptr<MetadataValueKey<FSPath> >
+ExheresLayout::licence_groups_location_key() const
+{
+ if ((_imp->tree_root / "metadata" / "licence_groups.conf").stat().exists())
+ return std::make_shared<LiteralMetadataValueKey<FSPath>>("licence_groups_location",
+ "License groups data location", mkt_internal, _imp->tree_root / "metadata" / "licence_groups.conf");
+ else
+ return make_null_shared_ptr();
+}
+
std::shared_ptr<const MasksInfo>
ExheresLayout::repository_masks(const std::shared_ptr<const PackageID> & id) const
{