mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-23 16:12:11 +02:00
Fix on Upgrade command.
This commit is contained in:
parent
ac08d1874c
commit
0a8187c11d
|
@ -81,7 +81,8 @@ class UpgradeCommand extends InstallCommand
|
|||
|
||||
Console::executeCommand('rm -rf ' . MAGALLANES_DIRECTORY);
|
||||
Console::executeCommand('mkdir -p ' . MAGALLANES_DIRECTORY);
|
||||
Console::executeCommand('cd ' . MAGALLANES_DIRECTORY . ' && tar xfz ' . $tarballFile);
|
||||
Console::executeCommand('cd ' . dirname($tarballFile) . ' && tar xfz ' . $tarballFile);
|
||||
Console::executeCommand('mv ' . dirname($tarballFile) . '/magallanes ' . MAGALLANES_DIRECTORY);
|
||||
|
||||
Console::output('<green>OK</green>', 0, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue