forked from Alex/Pterodactyl-Panel
Merge pull request #3162 from Software-Noob/tar-patch
Fix artisan upgrade failing to download
This commit is contained in:
commit
c8c9c3d3cb
@ -79,7 +79,7 @@ class UpgradeCommand extends Command
|
||||
if (!$skipDownload) {
|
||||
$this->withProgress($bar, function () {
|
||||
$this->line("\$upgrader> curl -L \"{$this->getUrl()}\" | tar -xzv");
|
||||
$process = Process::fromShellCommandline("curl -L \"{$this->getUrl()}\" | tar -xzvf");
|
||||
$process = Process::fromShellCommandline("curl -L \"{$this->getUrl()}\" | tar -xzv");
|
||||
$process->run(function ($type, $buffer) {
|
||||
$this->{$type === Process::ERR ? 'error' : 'line'}($buffer);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user