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:
Squidly271
2018-10-18 20:13:02 -04:00
committed by GitHub
parent 61cbbc75a7
commit 1a530bd085
@@ -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);