forked from Alex/Pterodactyl-Panel
remove file archive flag
This commit is contained in:
parent
9d500f1c49
commit
76f507656c
@ -79,7 +79,7 @@ class UpgradeCommand extends Command
|
|||||||
if (!$skipDownload) {
|
if (!$skipDownload) {
|
||||||
$this->withProgress($bar, function () {
|
$this->withProgress($bar, function () {
|
||||||
$this->line("\$upgrader> curl -L \"{$this->getUrl()}\" | tar -xzv");
|
$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) {
|
$process->run(function ($type, $buffer) {
|
||||||
$this->{$type === Process::ERR ? 'error' : 'line'}($buffer);
|
$this->{$type === Process::ERR ? 'error' : 'line'}($buffer);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user