mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-26 21:30:18 +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 New Issue
Block a user