src/Command/PostUpgradeCleanupCommand.php 1 location
|
@@ 52-55 (lines=4) @@
|
| 49 |
|
$tmpUpdaterDir = $tmpDir . '/updater'; |
| 50 |
|
$fsHelper->mkdir($tmpUpdaterDir); |
| 51 |
|
|
| 52 |
|
foreach ($locator->getUpdaterContent() as $dir){ |
| 53 |
|
$this->getApplication()->getLogger()->debug('Moving updater/' . $dir); |
| 54 |
|
$fsHelper->tripleMove($oldUpdaterDir, $newUpdaterDir, $tmpUpdaterDir, $dir); |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
//Cleanup Filesystem |
| 58 |
|
$fsHelper->removeIfExists($locator->getExtractionBaseDir()); |
src/Command/ExecuteCoreUpgradeScriptsCommand.php 1 location
|
@@ 101-104 (lines=4) @@
|
| 98 |
|
$oldSourcesDir = $locator->getOwncloudRootPath(); |
| 99 |
|
$newSourcesDir = $fullExtractionPath . '/owncloud'; |
| 100 |
|
|
| 101 |
|
foreach ($locator->getRootDirContent() as $dir){ |
| 102 |
|
$this->getApplication()->getLogger()->debug('Replacing ' . $dir); |
| 103 |
|
$fsHelper->tripleMove($oldSourcesDir, $newSourcesDir, $tmpDir, $dir); |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
try { |
| 107 |
|
$appDirectories = $fsHelper->scandirFiltered($oldSourcesDir . '/apps'); |