Fix not populating official containers (mainly via feed)

This commit is contained in:
Squidly271 2022-02-06 13:58:07 -05:00
parent 29ab880dcc
commit 0d5305ef1d
3 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
4e55f7483b661af21a25b677179baffe ./CA_notices.page
c7c6da0a4a4a7ac33f387ea178319bae ./ca_settings.page
ed2883d6c44c19304c431079596a1731 ./default.cfg
876078f25428140af17ea1f959da5ba4 ./include/exec.php
609bd6cba35f2418bfcc6c6ac6ad9484 ./include/exec.php
2c1babf5b937925bb47dce1b0566c25d ./include/helpers.php
d827ebdf8c29aa6a9818df043a37721e ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js

View File

@ -2078,6 +2078,9 @@ function getLastUpdate($ID) {
if ( $reg[1] && strtolower($reg[1]) !== "latest" )
return tr("Unknown");
if ( !strpos($reg[0],"/") )
$reg[0] = "library/{$reg[0]}";
while ( ! $registry && $count < 5 ) {
if ( $registry ) break;
sleep(1);