1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-08-26 21:30:18 +02:00

Fix on Upgrade command.

This commit is contained in:
Andrés Montañez 2013-12-17 21:45:43 -02:00
parent ac08d1874c
commit 0a8187c11d

View File

@ -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);
}