aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-04-22 22:55:12 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-04-22 22:55:12 +0100
commitfc937452cf70da78a35ca021114024713972f76f (patch)
tree151772c84c10e7c0961b8ea19367b06c306237ac
parented5b7ea290242c2207b929bf836f60971c76e1f4 (diff)
downloadpaludis-fc937452cf70da78a35ca021114024713972f76f.tar.gz
paludis-fc937452cf70da78a35ca021114024713972f76f.tar.xz
Detect PFG-caused breakage
-rw-r--r--paludis/environments/paludis/paludis_config.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index 1dc309e..05aff48 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -290,6 +290,14 @@ namespace paludis
&KeyValueConfigFile::no_transformation));
}
+ if (! kv->get("PALUDIS_NO_WRITE_CACHE_CLEAN").empty())
+ {
+ Log::get_instance()->message("paludis_environment.dodgy_script_config", ll_warning, lc_context)
+ << "It looks like you configured Paludis using a dodgy broken script you found on the "
+ "forums. Unfortunately, your system is probably now broken beyond repair. Please start again, "
+ "and have more care when deciding how to set things up.";
+ }
+
if (! kv->get("reduced_username").empty())
reduced_username = kv->get("reduced_username");