mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +00:00
[RAPPS] Uninstall empty directories after its children (#7164)
This commit is contained in:
parent
a8b33400a2
commit
e87f1d5d91
1 changed files with 1 additions and 4 deletions
|
@ -370,15 +370,12 @@ InstallFiles(const CStringW &SourceDirBase, const CStringW &Spec,
|
||||||
{
|
{
|
||||||
success = !ErrorBox(Info.Error);
|
success = !ErrorBox(Info.Error);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
success = AddEntry(UNOP_EMPTYDIR, uninstpath);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
success = InstallFiles(from, filespec, to);
|
success = InstallFiles(from, filespec, to);
|
||||||
}
|
}
|
||||||
|
AddEntry(UNOP_EMPTYDIR, uninstpath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue