2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

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 039f9ef6fe
commit 4792bbdedc

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/);