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