mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-13 03:06:38 +02:00
Tweak upgrade command.
This commit is contained in:
parent
c44eeeeaf0
commit
c0ff700f88
|
@ -80,7 +80,6 @@ class UpgradeCommand extends InstallCommand
|
|||
file_put_contents($tarballFile, $tarball);
|
||||
|
||||
Console::executeCommand('rm -rf ' . MAGALLANES_DIRECTORY);
|
||||
Console::executeCommand('mkdir -p ' . MAGALLANES_DIRECTORY);
|
||||
Console::executeCommand('cd ' . dirname($tarballFile) . ' && tar xfz ' . $tarballFile);
|
||||
Console::executeCommand('mv ' . dirname($tarballFile) . '/magallanes ' . MAGALLANES_DIRECTORY);
|
||||
|
||||
|
|
Loading…
Reference in a new issue