aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals/registration.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-05 08:19:38 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-05 08:19:38 +0000
commiteb5e4287cbce8cc37b302259530e249881769f11 (patch)
treed32279847ba27696277542d8b43de4a6a8400ee3 /paludis/repositories/virtuals/registration.cc
parent1daabfc5420d0b1fb0ffb817dcb2a7926704451c (diff)
downloadpaludis-eb5e4287cbce8cc37b302259530e249881769f11.tar.gz
paludis-eb5e4287cbce8cc37b302259530e249881769f11.tar.xz
r3293@snowflake: ciaranm | 2007-06-05 09:18:06 +0100
Allow environments, environment.conf to define distribution
Diffstat (limited to 'paludis/repositories/virtuals/registration.cc')
-rw-r--r--paludis/repositories/virtuals/registration.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/paludis/repositories/virtuals/registration.cc b/paludis/repositories/virtuals/registration.cc
index 4012108e5..67d0f0e79 100644
--- a/paludis/repositories/virtuals/registration.cc
+++ b/paludis/repositories/virtuals/registration.cc
@@ -20,7 +20,6 @@
#include <paludis/repositories/repository_maker.hh>
#include <paludis/repositories/virtuals/installed_virtuals_repository.hh>
#include <paludis/repositories/virtuals/virtuals_repository.hh>
-#include <paludis/distribution.hh>
#include "config.h"
using namespace paludis;
@@ -34,11 +33,8 @@ extern "C"
void register_repositories(RepositoryMaker * maker)
{
- if (DistributionData::get_instance()->default_distribution()->support_old_style_virtuals)
- {
- maker->register_maker("virtuals", &VirtualsRepository::make_virtuals_repository);
- maker->register_maker("installed_virtuals", &InstalledVirtualsRepository::make_installed_virtuals_repository);
- }
+ maker->register_maker("virtuals", &VirtualsRepository::make_virtuals_repository);
+ maker->register_maker("installed_virtuals", &InstalledVirtualsRepository::make_installed_virtuals_repository);
}
#endif