From 32c1bcbf53d20114e7b7bd4145693bdfaa6eb012 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Sat, 26 May 2018 09:08:04 +0000 Subject: [PATCH] commandref_static: for debug only git-svn-id: https://svn.fhem.de/fhem/trunk@16779 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/commandref_static.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/commandref_static.pl b/fhem/contrib/commandref_static.pl index 0e6772015..f6ccef9ce 100755 --- a/fhem/contrib/commandref_static.pl +++ b/fhem/contrib/commandref_static.pl @@ -72,8 +72,8 @@ for my $lang (@lang) { next if($fName !~ m/^\d\d_(.*)\.pm$/); my $mName = $1; my $ts = (stat("$modDir/$fName"))[9]; -# if($protVersion != $fileVersion || -# !$modData{$mName} || !$modData{$mName}{ts} || $modData{$mName}{ts}<$ts) { + if($protVersion != $fileVersion || + !$modData{$mName} || !$modData{$mName}{ts} || $modData{$mName}{ts}<$ts) { #print "Checking $fName for $lang short description\n"; $modData{$mName}{type}="device" if(!$modData{$mName}{type}); @@ -90,7 +90,7 @@ for my $lang (@lang) { my $outFile = "docs/cref$sfx/$mName.cref"; _cref_write($outFile,$output) if $output; -# } + } } closedir(DH);