1
0
Fork 0

Always wait after an unzip completes to try and fix virtualbox issues, refs #9945

pull/9959/head
Jordi Boggiano 2021-06-05 20:45:37 +02:00
parent c1f0eee154
commit 3556f6efa5
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ abstract class ArchiveDownloader extends FileDownloader
} }
}; };
Platform::workaroundFilesystemIssues();
$renameAsOne = false; $renameAsOne = false;
if (!file_exists($path) || ($filesystem->isDirEmpty($path) && $filesystem->removeDirectoryPhp($path))) { if (!file_exists($path) || ($filesystem->isDirEmpty($path) && $filesystem->removeDirectoryPhp($path))) {
$renameAsOne = true; $renameAsOne = true;