mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 13:26:02 +00:00
98_update.pm: fix repository filter (Forum #45121)
git-svn-id: https://svn.fhem.de/fhem/trunk@10247 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
97483a20be
commit
d2e81429e6
@ -207,13 +207,13 @@ doUpdateLoop($$)
|
||||
|
||||
my ($max,$curr) = (0,0);
|
||||
foreach my $srcLine (@list) {
|
||||
next if($src && $srcLine !~ m/controls_{$src}/);
|
||||
next if($src && $srcLine !~ m/controls_${src}.txt/);
|
||||
$max++;
|
||||
}
|
||||
uLog 1, "No source file named controls_$src found" if($src && !$max);
|
||||
|
||||
foreach my $srcLine (@list) {
|
||||
next if($src && $srcLine !~ m/controls_{$src}/);
|
||||
next if($src && $srcLine !~ m/controls_${src}.txt/);
|
||||
doUpdate(++$curr, $max, $srcLine, $arg);
|
||||
HttpUtils_Close(\%upd_connecthash);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user