From a1d01264d8843ec81e42c6ea8486f28dd7d131aa Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 26 Nov 2023 10:08:09 +0000 Subject: [PATCH] 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 --- fhem/FHEM/98_update.pm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index 89a5e4312..005cf9365 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -312,7 +312,7 @@ doUpdate($$$$) $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 $hideExcl = AttrVal("global", "hideExcludedUpdates", 0); #Forum #124670 @@ -672,10 +672,11 @@ upd_writeFile($$$$)
  • exclude_from_update
    - Contains a space separated list of fileNames (regexps) which will be - excluded by an update. The special value commandref will disable calling - commandref_join at the end, i.e commandref.html will be out of date. - The module-only documentation is not affected and is up-to-date.
    + Contains a space or comma separated list of fileNames (regexps) which + will be excluded by an update. The special value commandref will + disable calling commandref_join at the end, i.e commandref.html will be + out of date. The module-only documentation is not affected and is + up-to-date.
    Example: