98_update.pm: use correct fhem.pl for size check (Forum #37044)
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8554 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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] &&
|
||||||
|
|||||||
Reference in New Issue
Block a user