From 8c17993ab58c88c3b50802ebaaf4ce8e37c84370 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Tue, 10 Mar 2015 18:34:49 +0000 Subject: [PATCH] 98_update.pm: commandref/exclude-from-update (Forum #34450) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8189 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_update.pm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/FHEM/98_update.pm b/FHEM/98_update.pm index f3200a21c..26e076c69 100644 --- a/FHEM/98_update.pm +++ b/FHEM/98_update.pm @@ -153,7 +153,8 @@ doUpdate($$) my $cj = "$root/contrib/commandref_join.pl"; if(-f $cj && -f "$root/docs/commandref_frame.html" && - -w "$root/docs/commandref.html") { + -w "$root/docs/commandref.html" && + (AttrVal('global','exclude_from_update','') !~ m/commandref/) ) { $canJoin = 1; } @@ -500,7 +501,9 @@ upd_initRestoreDirs($)
  • exclude_from_update
    Contains a space separated list of fileNames (regexps) which will be - excluded by an update.
    + 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: