Skip to content

Commit 905c70f

Browse files
committed
Add improvements
1 parent 2a5c436 commit 905c70f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Classes/Composer/InstallerScripts.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,11 @@ public static function postUpdateAndInstall(Event $event)
7373
echo '> Platform: ' . $platform . "\n";
7474
echo '> Architecture: ' . $architecture . "\n";
7575

76-
$downloadLink = sprintf('https://github.com/Flowpack/prunner/releases/download/v%s/prunner_%s_%s_%s.tar.gz', $version, $version, $platform, $architecture);
76+
$downloadLink = sprintf('https://github.com/Flowpack/prunner/releases/download/v%1$s/prunner_%1$s_%2$s_%3$s.tar.gz', $version, $platform, $architecture);
7777
$httpClient = new Client();
7878
$httpClient->get($downloadLink, ['sink' => 'Data/Temporary/prunner.tar.gz']);
7979
echo '> Download complete.' . "\n";
8080

81-
file_put_contents('Data/Temporary/prunner.tar.gz', $downloadedFileContents);
8281
Files::unlink('Data/Temporary/prunner.tar');
8382

8483
// decompress from gz

0 commit comments

Comments
 (0)