mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 22:15:09 +00:00
98_update.pm: exclude now accepts comma too (Forum #135958)
git-svn-id: https://svn.fhem.de/fhem/trunk@28211 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cfc8a4f15c
commit
4d56e89597
@ -312,7 +312,7 @@ doUpdate($$$$)
|
|||||||
$canJoin = 1;
|
$canJoin = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
my @excl = split(" ", AttrVal("global", "exclude_from_update", ""));
|
my @excl = split(/[\s,]+/, AttrVal("global", "exclude_from_update", ""));
|
||||||
my $noSzCheck = AttrVal("global", "updateNoFileCheck", configDBUsed());
|
my $noSzCheck = AttrVal("global", "updateNoFileCheck", configDBUsed());
|
||||||
my $hideExcl = AttrVal("global", "hideExcludedUpdates", 0); #Forum #124670
|
my $hideExcl = AttrVal("global", "hideExcludedUpdates", 0); #Forum #124670
|
||||||
|
|
||||||
@ -672,10 +672,11 @@ upd_writeFile($$$$)
|
|||||||
|
|
||||||
<a id="update-attr-exclude_from_update"></a>
|
<a id="update-attr-exclude_from_update"></a>
|
||||||
<li>exclude_from_update<br>
|
<li>exclude_from_update<br>
|
||||||
Contains a space separated list of fileNames (regexps) which will be
|
Contains a space or comma separated list of fileNames (regexps) which
|
||||||
excluded by an update. The special value commandref will disable calling
|
will be excluded by an update. The special value commandref will
|
||||||
commandref_join at the end, i.e commandref.html will be out of date.
|
disable calling commandref_join at the end, i.e commandref.html will be
|
||||||
The module-only documentation is not affected and is up-to-date.<br>
|
out of date. The module-only documentation is not affected and is
|
||||||
|
up-to-date.<br>
|
||||||
Example:<br>
|
Example:<br>
|
||||||
<ul>
|
<ul>
|
||||||
attr global exclude_from_update 21_OWTEMP.pm FS20.off.png
|
attr global exclude_from_update 21_OWTEMP.pm FS20.off.png
|
||||||
@ -782,11 +783,12 @@ upd_writeFile($$$$)
|
|||||||
|
|
||||||
<a id="update-attr-exclude_from_update"></a>
|
<a id="update-attr-exclude_from_update"></a>
|
||||||
<li>exclude_from_update<br>
|
<li>exclude_from_update<br>
|
||||||
Enthält eine Liste durch Leerzeichen getrennter Dateinamen
|
Enthält eine durch Leerzeichen oder Komma getrennte Liste von
|
||||||
(Regexp), welche nicht beim update berücksichtigt werden.<br>
|
Dateinamen (Regexp), welche beim update nicht berücksichtigt
|
||||||
Falls der Wert commandref enthält, dann wird commandref_join.pl
|
werden.<br> Falls der Wert commandref enthält, dann wird
|
||||||
nach dem update nicht aufgerufen, d.h. die Gesamtdokumentation ist
|
commandref_join.pl nach dem update nicht aufgerufen, d.h. die
|
||||||
nicht mehr aktuell. Die Moduldokumentation bleibt weiterhin aktuell.
|
Gesamtdokumentation ist nicht mehr aktuell. Die Moduldokumentation
|
||||||
|
bleibt weiterhin aktuell.
|
||||||
<br>
|
<br>
|
||||||
Beispiel:<br>
|
Beispiel:<br>
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user