[RAPPS] Uninstall empty directories after its children (#7164)

This commit is contained in:
Whindmar Saksit
2024-07-25 00:22:12 +02:00
committed by GitHub
parent a8b33400a2
commit e87f1d5d91

View File

@@ -370,15 +370,12 @@ InstallFiles(const CStringW &SourceDirBase, const CStringW &Spec,
{
success = !ErrorBox(Info.Error);
}
else
{
success = AddEntry(UNOP_EMPTYDIR, uninstpath);
}
if (success)
{
success = InstallFiles(from, filespec, to);
}
AddEntry(UNOP_EMPTYDIR, uninstpath);
}
}
else