2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

98_Installer: fix dev repo display

git-svn-id: https://svn.fhem.de/fhem/trunk@19173 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-04-13 16:09:45 +00:00
parent f2d125582b
commit 87b7218659

View File

@ -2541,35 +2541,36 @@ sub CreateMetadataList ($$$) {
&& defined( && defined(
$modMeta->{resources}{repository}{x_dev}{x_branch} $modMeta->{resources}{repository}{x_dev}{x_branch}
) )
&& $modMeta->{resources}{repository}{x_branch} ne
$modMeta->{resources}{repository}{x_dev}{x_branch}
) )
{ {
my $bName = $modMeta->{resources}{repository}{x_branch};
$bName .= ' (prod)'
if ( $modMeta->{resources}{repository}{x_branch} eq
$modMeta->{resources}{repository}{x_dev}{x_branch}
);
# master entry # master entry
$l .= $l .=
'View online source code: <a href="' 'View online source code: <a href="'
. $url . $url
. '" target="_blank">' . '" target="_blank">'
. $modMeta->{resources}{repository}{x_branch} . $bName . '</a>';
. '</a>';
# dev link # dev link
$url = $bName =
$modMeta->{resources}{repository}{x_dev}{web}; $modMeta->{resources}{repository}{x_dev}{x_branch};
$bName .= ' (dev)'
if ( $modMeta->{resources}{repository}{x_branch} eq
$modMeta->{resources}{repository}{x_dev}{x_branch}
);
$url = $modMeta->{resources}{repository}{x_dev}{web};
# dev entry # dev entry
$l .= $l .=
' | <a href="' ' | <a href="'
. $url . $url
. '" target="_blank">' . '" target="_blank">'
. ( . $bName . '</a>';
defined(
$modMeta->{resources}{repository}{x_dev}
{x_branch}
)
? $modMeta->{resources}{repository}{x_dev}{x_branch}
: 'dev'
) . '</a>';
} }
# master entry # master entry
@ -4104,7 +4105,7 @@ sub __aUniq {
"abstract": "Modul zum Update von FHEM, zur Installation von Drittanbieter FHEM Modulen und der Verwaltung von Systemvoraussetzungen" "abstract": "Modul zum Update von FHEM, zur Installation von Drittanbieter FHEM Modulen und der Verwaltung von Systemvoraussetzungen"
} }
}, },
"version": "v0.3.8", "version": "v0.3.9",
"release_status": "testing", "release_status": "testing",
"author": [ "author": [
"Julian Pawlowski <julian.pawlowski@gmail.com>" "Julian Pawlowski <julian.pawlowski@gmail.com>"
@ -4134,7 +4135,8 @@ sub __aUniq {
"IO::Socket::SSL": 0, "IO::Socket::SSL": 0,
"JSON": 0, "JSON": 0,
"perl": 5.014, "perl": 5.014,
"version": 0 "version": 0,
"SubProcess": 0
}, },
"recommends": { "recommends": {
"Perl::PrereqScanner::NotQuiteLite": 0, "Perl::PrereqScanner::NotQuiteLite": 0,