src/Command/ExecuteCoreUpgradeScriptsCommand.php 1 location
|
@@ 126-129 (lines=4) @@
|
| 123 |
|
return 1; |
| 124 |
|
} |
| 125 |
|
|
| 126 |
|
foreach ($locator->getRootDirContent() as $dir){ |
| 127 |
|
$this->getApplication()->getLogger()->debug('Replacing ' . $dir); |
| 128 |
|
$fsHelper->tripleMove($oldSourcesDir, $newSourcesDir, $tmpDir, $dir); |
| 129 |
|
} |
| 130 |
|
|
| 131 |
|
$fsHelper->copyr($tmpDir . '/config/config.php', $oldSourcesDir . '/config/config.php'); |
| 132 |
|
|
src/Command/PostUpgradeCleanupCommand.php 1 location
|
@@ 61-64 (lines=4) @@
|
| 58 |
|
$tmpUpdaterDir = $tmpDir . '/updater'; |
| 59 |
|
$fsHelper->mkdir($tmpUpdaterDir); |
| 60 |
|
|
| 61 |
|
foreach ($locator->getUpdaterContent() as $dir){ |
| 62 |
|
$this->getApplication()->getLogger()->debug('Moving updater/' . $dir); |
| 63 |
|
$fsHelper->tripleMove($oldUpdaterDir, $newUpdaterDir, $tmpUpdaterDir, $dir); |
| 64 |
|
} |
| 65 |
|
|
| 66 |
|
//Cleanup Filesystem |
| 67 |
|
$fsHelper->removeIfExists($locator->getExtractionBaseDir()); |