mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 01:46:08 +00:00
98_update.pm: use correct fhem.pl for size check (Forum #37044)
git-svn-id: https://svn.fhem.de/fhem/trunk@8554 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b330f9f66c
commit
b1dc404588
@ -199,7 +199,9 @@ doUpdate($$)
|
|||||||
next if($fName !~ m/$arg/);
|
next if($fName !~ m/$arg/);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
my $sz = -s "$root/$fName";
|
my $fPath = "$root/$fName";
|
||||||
|
$fPath = $0 if($fPath =~ m/$mainPgm/);
|
||||||
|
my $sz = -s $fPath;
|
||||||
next if($lh{$fName} &&
|
next if($lh{$fName} &&
|
||||||
$lh{$fName}{TS} eq $r[1] &&
|
$lh{$fName}{TS} eq $r[1] &&
|
||||||
$sz && $sz eq $r[2] &&
|
$sz && $sz eq $r[2] &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user