2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

contrib/commandref_join.pl: global Patch from Markus (Forum #50722)

git-svn-id: https://svn.fhem.de/fhem/trunk@11047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-03-12 12:23:59 +00:00
parent 2b8c74d6c9
commit 1c3d52f2ba

View File

@ -85,7 +85,8 @@ foreach my $lang (@lang) {
$modType = "command" if($l =~ m/>Fhem commands</); $modType = "command" if($l =~ m/>Fhem commands</);
$modType = "device" if($l =~ m/>Devices</); $modType = "device" if($l =~ m/>Devices</);
$modType = "helper" if($l =~ m/>Helper modules</); $modType = "helper" if($l =~ m/>Helper modules</);
$modIdx{$1} = $modType if($modType && $l =~ m/href="#(.*?)">/); $modIdx{$1} = $modType
if($modType && $l =~ m/href="#(.*?)">/ && $1 ne "global");
last if($l =~ m/<!-- header end -->/); last if($l =~ m/<!-- header end -->/);
} }
seek(IN,0,0); seek(IN,0,0);