aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-07 16:48:22 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-07 16:48:22 +0100
commit1e9bb4b25141d1c03d2561f1cbc3329985534b23 (patch)
treec81ceb20ec211637a03febf43400faa39daf279c
parent751b79c28a00ab4e8c8b0dd59cc4472fb0ac2a12 (diff)
downloadpaludis-1e9bb4b25141d1c03d2561f1cbc3329985534b23.tar.gz
paludis-1e9bb4b25141d1c03d2561f1cbc3329985534b23.tar.xz
Tweak accounts behaviours
-rw-r--r--paludis/repositories/accounts/accounts_id.cc3
-rw-r--r--paludis/repositories/accounts/installed_accounts_id.cc1
2 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/accounts/accounts_id.cc b/paludis/repositories/accounts/accounts_id.cc
index d6d496d..2c406d7 100644
--- a/paludis/repositories/accounts/accounts_id.cc
+++ b/paludis/repositories/accounts/accounts_id.cc
@@ -165,6 +165,9 @@ AccountsID::_add_metadata_keys() const
if (_imp->preferred_gid_key)
add_metadata_key(_imp->preferred_gid_key);
+ if (_imp->behaviours_key)
+ add_metadata_key(_imp->behaviours_key);
+
_imp->has_metadata_keys = true;
}
diff --git a/paludis/repositories/accounts/installed_accounts_id.cc b/paludis/repositories/accounts/installed_accounts_id.cc
index 57f0b90..ddccea4 100644
--- a/paludis/repositories/accounts/installed_accounts_id.cc
+++ b/paludis/repositories/accounts/installed_accounts_id.cc
@@ -61,6 +61,7 @@ namespace
{
behaviours_value->insert("transient");
behaviours_value->insert("used");
+ behaviours_value->insert("unbinaryable");
}
};
}