Skip to content

Commit eba983b

Browse files
authored
BUGFIX: fix install when data/Temporary does not exist yet
1 parent ad1667f commit eba983b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Classes/Composer/InstallerScripts.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ public static function postUpdateAndInstall()
7373
echo '> Platform: ' . $platform . "\n";
7474
echo '> Architecture: ' . $architecture . "\n";
7575

76+
// Ensure Data/Temporary folder exists
77+
Files::createDirectoryRecursively("Data/Temporary");
78+
7679
$downloadLink = sprintf('https://github.com/Flowpack/prunner/releases/download/v%1$s/prunner_%1$s_%2$s_%3$s.tar.gz', $version, $platform, $architecture);
7780
$httpClient = new Client();
7881
$httpClient->get($downloadLink, ['sink' => 'Data/Temporary/prunner.tar.gz']);

0 commit comments

Comments
 (0)