mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-27 10:37:13 +00:00
98_update.pm: ignore exclude_from_update if a single argument is specified (Foru
m #45738) git-svn-id: https://svn.fhem.de/fhem/trunk@10214 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2bd421cc1a
commit
249488a9fb
@ -190,20 +190,15 @@ doUpdate($$)
|
||||
return 1;
|
||||
}
|
||||
|
||||
my $isExcl;
|
||||
foreach my $ex (@excl) {
|
||||
$isExcl = 1 if($fName =~ m/$ex/);
|
||||
}
|
||||
|
||||
if($isSingle) {
|
||||
next if($fName !~ m/$arg/);
|
||||
if($isExcl) {
|
||||
uLog 1, "update: skipping $fName, matches exclude_from_update";
|
||||
$nSkipped++;
|
||||
next;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
my $isExcl;
|
||||
foreach my $ex (@excl) {
|
||||
$isExcl = 1 if($fName =~ m/$ex/);
|
||||
}
|
||||
my $fPath = "$root/$fName";
|
||||
$fPath = $0 if($fPath =~ m/$mainPgm/);
|
||||
my $fileOk = ($lh{$fName} &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user