98_update.pm: update check will ignore exclude_from_update (Forum #95944)

git-svn-id: https://svn.fhem.de/fhem/trunk@18328 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2019-01-18 22:35:57 +00:00
parent 08ca22eab5
commit 601acc5f6c

View File

@@ -335,8 +335,10 @@ doUpdate($$$$)
} else {
my $isExcl;
foreach my $ex (@excl) {
$isExcl = 1 if($fName =~ m/$ex/ || "$src:$fName" =~ m/$ex/);
if(!$isCheck) { # Forum #95944
foreach my $ex (@excl) {
$isExcl = 1 if($fName =~ m/$ex/ || "$src:$fName" =~ m/$ex/);
}
}
my $fPath = "$root/$fName";
$fPath = $0 if($fPath =~ m/$mainPgm/);