fix(vikon): keep downloaded files in temp after update
This commit is contained in:
@@ -63,7 +63,6 @@ class UpdateCoreAction
|
|||||||
File::makeDirectory($modulePath, 0755, true, true);
|
File::makeDirectory($modulePath, 0755, true, true);
|
||||||
$this->syncFiles($syncSource, $modulePath);
|
$this->syncFiles($syncSource, $modulePath);
|
||||||
File::put($modulePath . '/.vikon', date('Y-m-d H:i:s'));
|
File::put($modulePath . '/.vikon', date('Y-m-d H:i:s'));
|
||||||
File::deleteDirectory($tempPath);
|
|
||||||
|
|
||||||
Log::info('Vikon: module updated', ['module' => $config['name']]);
|
Log::info('Vikon: module updated', ['module' => $config['name']]);
|
||||||
return 'Модуль "' . $config['name'] . '" обновлён.';
|
return 'Модуль "' . $config['name'] . '" обновлён.';
|
||||||
|
|||||||
Reference in New Issue
Block a user