From ff4253ba79a4f74c85885451a65c2cf1c3654ec7 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 19 Oct 2013 11:22:17 +0000 Subject: [PATCH] update: Fixing update check (first try) git-svn-id: https://svn.fhem.de/fhem/trunk@4070 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 4 ++-- fhem/FHEM/98_update.pm | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 8d71f60ba..f96d496fb 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,6 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. - -- 2013-xx-xx (SVN) +# Do not insert empty lines here, update check depends on it. +- SVN - feature: endPlotNow attribute for SVG-Plots (ChrisD) - feature: new module 51_BBB_BMP180.pm added (betateilchen) - feature: readingsGroup: allow devStateIcon to be displayed diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index 1b701b7a8..3b8f787c1 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -922,7 +922,8 @@ update_ListChanges($$$) } else { my @lines = split(/\015\012|\012|\015/,$changed); foreach my $line (@lines) { - last if ($line eq ""); + next if($line =~ m/^#/); + last if($line eq ""); $ret .= $line."\n"; } }