aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-15 20:33:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-02-15 20:33:37 +0000
commit5002dcff7d7b72b88644aded341b13f89d33d5b5 (patch)
tree2bde0437c28ca9d2d4938386d2119c986db6c0e4
parent714e1588eaeb13e2b8bfe1e7616543440f9638ae (diff)
downloadpaludis-5002dcff7d7b72b88644aded341b13f89d33d5b5.tar.gz
paludis-5002dcff7d7b72b88644aded341b13f89d33d5b5.tar.xz
Tweak
-rw-r--r--paludis/merger/merger.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/merger/merger.cc b/paludis/merger/merger.cc
index 18644c4..f98f5b7 100644
--- a/paludis/merger/merger.cc
+++ b/paludis/merger/merger.cc
@@ -420,7 +420,8 @@ Merger::on_dir_over_sym(bool is_check, const FSEntry & src, const FSEntry & dst)
{
on_warn(is_check, "Expected '" + stringify(dst / src.basename()) +
"' to be a directory but found a symlink to a directory");
- record_install_dir(src, dst);
+ if (! is_check)
+ record_install_dir(src, dst);
}
else
on_error(is_check, "Expected '" + stringify(dst) + "' to be a directory but found a symlink to a non-directory");