Apps installed as a branch would show twice in Installed apps

This commit is contained in:
Squidly271 2021-06-23 11:54:27 -04:00
parent 46a010721d
commit f73ae7090e
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -11,7 +11,7 @@ a9d4cd0e4e1f37cbe3806b952a96ddb1 ./ca_settings.page
6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
f93e11b85fec2e64104996cc71bfce1b ./include/exec.php
bc51b35f12c05e0d9f8c2fd006a93058 ./include/exec.php
d7f50413cbaac1c6cb9ceaaef48f270a ./include/helpers.php
8f1129e0cdb994c6d1900192252433d8 ./include/paths.php
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js

View File

@ -1021,6 +1021,7 @@ if ( $caSettings['dockerRunning'] ) {
$installedImage = str_replace("library/","",$installedImage);
foreach ($file as &$template) {
if ( $template['BranchID'] ) continue;
if ( $installedName == $template['Name'] ) {
if ( startsWith($installedImage,$template['Repository']) ) {
$template['Uninstall'] = true;