aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-11 15:39:29 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-11 15:38:52 +0000
commit58d34274c86e6723c392acdca286cf38bfeb8f3f (patch)
tree89c5029fd8b6dff5ced9e14e2c6cf62430876f7e
parent4a75fa6d9d5f987d600afab37395101c625dae93 (diff)
downloadpaludis-58d34274c86e6723c392acdca286cf38bfeb8f3f.tar.gz
paludis-58d34274c86e6723c392acdca286cf38bfeb8f3f.tar.xz
Enough is enough
-rw-r--r--paludis/repository.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/paludis/repository.cc b/paludis/repository.cc
index efe41dc..ba1d1e9 100644
--- a/paludis/repository.cc
+++ b/paludis/repository.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2005, 2006, 2007, 2008 Ciaran McCreesh
+ * Copyright (c) 2005, 2006, 2007, 2008, 2009 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -139,6 +139,15 @@ Repository::Repository(
Log::get_instance()->message("repository.blacklisted", ll_warning, lc_no_context)
<< "Repository '" << stringify(name())
<< "' is blacklisted with reason '" << reason << "'.";
+ else if (stringify(our_name) == "paludis-extras")
+ {
+ /* Seriously guys. You've broken too many systems, wasted too much of
+ * other people's time and put off too many users who think your bugs
+ * are Paludis bugs. In a world containing kde-crazy, xeffects and
+ * sabayon, you're the only people who've warranted this kind of
+ * measure. This is no longer a joke. */
+ throw ConfigurationError("Please use a different package manager.");
+ }
}
Repository::~Repository()