From 3556f6efa5171a50be1123da55ab612d6d27631b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 5 Jun 2021 20:45:37 +0200 Subject: [PATCH] Always wait after an unzip completes to try and fix virtualbox issues, refs #9945 --- src/Composer/Downloader/ArchiveDownloader.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Downloader/ArchiveDownloader.php b/src/Composer/Downloader/ArchiveDownloader.php index 7788397f2..5114cd5c8 100644 --- a/src/Composer/Downloader/ArchiveDownloader.php +++ b/src/Composer/Downloader/ArchiveDownloader.php @@ -136,6 +136,8 @@ abstract class ArchiveDownloader extends FileDownloader } }; + Platform::workaroundFilesystemIssues(); + $renameAsOne = false; if (!file_exists($path) || ($filesystem->isDirEmpty($path) && $filesystem->removeDirectoryPhp($path))) { $renameAsOne = true;