mirror of
https://github.com/unraid/webgui.git
synced 2026-04-28 22:09:24 -05:00
Code change to prevent CA from modifying system file
CA currently when installing multiple previously installed apps will copy, modify, and execute a different version of CreateDocker.php to avoid a harmless display error. Minor code adjustment to prevent CA from having to do that (since it may at some point in the future break).
This commit is contained in:
@@ -176,7 +176,9 @@ if ($_GET['updateContainer']){
|
||||
stopContainer($Name);
|
||||
}
|
||||
// force kill container if still running after 10 seconds
|
||||
removeContainer($Name);
|
||||
if ( ! $_GET['communityApplications'] ) {
|
||||
removeContainer($Name);
|
||||
}
|
||||
execCommand($cmd);
|
||||
$DockerClient->flushCaches();
|
||||
$newImageID = $DockerClient->getImageID($Repository);
|
||||
|
||||
Reference in New Issue
Block a user