2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 03:44:52 +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:
rudolfkoenig 2023-01-06 17:15:47 +00:00
parent 6302539504
commit ff1379b446

View File

@ -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;
}