fix(vikon): keep ZIP archive in temp after update
This commit is contained in:
@@ -51,13 +51,6 @@ class UpdateCoreAction
|
||||
);
|
||||
}
|
||||
|
||||
$vikonCorePath = $tempPath . '/vikon_core';
|
||||
if (File::isDirectory($vikonCorePath)) {
|
||||
File::deleteDirectory($vikonCorePath);
|
||||
}
|
||||
|
||||
File::delete($zipFile);
|
||||
|
||||
$extractedDirs = File::directories($tempPath);
|
||||
$syncSource = $extractedDirs[0] ?? $tempPath;
|
||||
File::makeDirectory($modulePath, 0755, true, true);
|
||||
|
||||
Reference in New Issue
Block a user