From db8137c7619c0487216063733227f2c00dff7232 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Wed, 23 Dec 2015 19:53:31 +0000 Subject: [PATCH] 98_update.pm: fix repository filter (Forum #45121) git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10247 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_update.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index 18cf88e6f..760b2d01d 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -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); }