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:
parent
f764a491bb
commit
63beb9cd39
@ -57,7 +57,10 @@ InstallerCopyLoopControl::OverwriteOnConflict(const BEntry *srcEntry,
|
||||
const char *destName, const BDirectory *destDir, bool srcIsDir,
|
||||
bool dstIsDir)
|
||||
{
|
||||
return kReplace;
|
||||
if (srcIsDir && dstIsDir)
|
||||
return kMerge;
|
||||
else
|
||||
return kReplace;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user