Installer should merge directories and replace files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16548 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -57,7 +57,10 @@ InstallerCopyLoopControl::OverwriteOnConflict(const BEntry *srcEntry,
|
|||||||
const char *destName, const BDirectory *destDir, bool srcIsDir,
|
const char *destName, const BDirectory *destDir, bool srcIsDir,
|
||||||
bool dstIsDir)
|
bool dstIsDir)
|
||||||
{
|
{
|
||||||
return kReplace;
|
if (srcIsDir && dstIsDir)
|
||||||
|
return kMerge;
|
||||||
|
else
|
||||||
|
return kReplace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user