mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 09:55:38 +00:00
98_update.pm: improve readability (Forum #131410)
git-svn-id: https://svn.fhem.de/fhem/trunk@26986 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6302539504
commit
ff1379b446
@ -249,6 +249,7 @@ doUpdate($$$$)
|
||||
my ($basePath, $ctrlFileName);
|
||||
$src =~ s'^http://fhem\.de'https://fhem.de' if($upd_hasSSL);
|
||||
$src =~ s'^https://'http://' if(!$upd_wantSSL);
|
||||
uLog 1, "";
|
||||
uLog 1, "Downloading $src";
|
||||
if($src !~ m,^(.*)/([^/]*)$,) {
|
||||
uLog 1, "Cannot parse $src, probably not a valid http control file";
|
||||
@ -271,7 +272,6 @@ doUpdate($$$$)
|
||||
}
|
||||
|
||||
if($max != 1) {
|
||||
uLog 1, "";
|
||||
uLog 1, $srcName;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user