|
|
@ -80,7 +80,6 @@ class UpgradeCommand extends InstallCommand |
|
|
|
file_put_contents($tarballFile, $tarball); |
|
|
|
file_put_contents($tarballFile, $tarball); |
|
|
|
|
|
|
|
|
|
|
|
Console::executeCommand('rm -rf ' . MAGALLANES_DIRECTORY); |
|
|
|
Console::executeCommand('rm -rf ' . MAGALLANES_DIRECTORY); |
|
|
|
Console::executeCommand('mkdir -p ' . MAGALLANES_DIRECTORY); |
|
|
|
|
|
|
|
Console::executeCommand('cd ' . dirname($tarballFile) . ' && tar xfz ' . $tarballFile); |
|
|
|
Console::executeCommand('cd ' . dirname($tarballFile) . ' && tar xfz ' . $tarballFile); |
|
|
|
Console::executeCommand('mv ' . dirname($tarballFile) . '/magallanes ' . MAGALLANES_DIRECTORY); |
|
|
|
Console::executeCommand('mv ' . dirname($tarballFile) . '/magallanes ' . MAGALLANES_DIRECTORY); |
|
|
|
|
|
|
|
|
|
|
|