aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-29 22:47:01 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-03-29 22:47:01 +0000
commit097c189ad0ed4703ab1edc440751cd37969795e5 (patch)
tree6e76e7886cb0dfbb6c5ea8b154d62b2682e82bab
parenta6fb91a791e90455f6c5d7fd6598f0fa93f2a7bd (diff)
downloadpaludis-097c189ad0ed4703ab1edc440751cd37969795e5.tar.gz
paludis-097c189ad0ed4703ab1edc440751cd37969795e5.tar.xz
Don't complain about symlinks
-rw-r--r--paludis/repositories/gentoo/vdb_repository.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/paludis/repositories/gentoo/vdb_repository.cc b/paludis/repositories/gentoo/vdb_repository.cc
index 4d22f38..d2aadf3 100644
--- a/paludis/repositories/gentoo/vdb_repository.cc
+++ b/paludis/repositories/gentoo/vdb_repository.cc
@@ -1605,9 +1605,11 @@ VDBRepository::merge(const MergeOptions & m)
bool is_replace(has_version(m.package.name, m.package.version));
FSEntry tmp_vdb_dir(_imp->params.location);
- tmp_vdb_dir.mkdir();
+ if (! tmp_vdb_dir.exists())
+ tmp_vdb_dir.mkdir();
tmp_vdb_dir /= stringify(m.package.name.category);
- tmp_vdb_dir.mkdir();
+ if (! tmp_vdb_dir.exists())
+ tmp_vdb_dir.mkdir();
tmp_vdb_dir /= ("-checking-" + stringify(m.package.name.package) + "-" + stringify(m.package.version));
tmp_vdb_dir.mkdir();