aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-12 19:57:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-12 19:57:12 +0000
commitd40a96fec17f8adb2ed6ae25cc9113c7efbadc9c (patch)
treed342945f9332c64dfa94b2c918edc2c9d18dac5b
parent244a9c574dd783d4d8d123180209b923fe6f5862 (diff)
downloadpaludis-d40a96fec17f8adb2ed6ae25cc9113c7efbadc9c.tar.gz
paludis-d40a96fec17f8adb2ed6ae25cc9113c7efbadc9c.tar.xz
Don't use ldconfig for test cases
-rw-r--r--paludis/repositories/gentoo/ebuild.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/repositories/gentoo/ebuild.cc b/paludis/repositories/gentoo/ebuild.cc
index 224d3ab..b6e2c3a 100644
--- a/paludis/repositories/gentoo/ebuild.cc
+++ b/paludis/repositories/gentoo/ebuild.cc
@@ -532,6 +532,9 @@ VDBPostMergeCommand::VDBPostMergeCommand(const VDBPostMergeCommandParams & p) :
void
VDBPostMergeCommand::operator() ()
{
+ if (! getenv_with_default("PALUDIS_NO_GLOBAL_HOOKS", "").empty())
+ return;
+
std::string ebuild_cmd("ldconfig -r '" + stringify(params.root) + "'");
if (0 != (run_command(ebuild_cmd)))