mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
98_Installer: fix detail card with missing/outdated pkgs
git-svn-id: https://svn.fhem.de/fhem/trunk@19067 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ea6a697622
commit
65d0519d01
@ -2756,12 +2756,24 @@ m/^([^<>\n\r]+?)(?:\s+(\(last release only\)))?(?:\s+(?:<(.*)>))?$/
|
|||||||
if ( $html
|
if ( $html
|
||||||
&& $installed eq 'included' );
|
&& $installed eq 'included' );
|
||||||
|
|
||||||
if ($html) {
|
if (
|
||||||
$installed = $colorGreen . $installed . $colorClose
|
$mAttr ne 'required'
|
||||||
if ( $installed eq 'installed' );
|
&& ( $installed eq 'missing'
|
||||||
$installed = $colorRed . uc($installed) . $colorClose
|
|| $installed eq 'outdated' )
|
||||||
if ( $installed eq 'missing'
|
)
|
||||||
|| $installed eq 'outdated' );
|
{
|
||||||
|
$installed = '';
|
||||||
|
|
||||||
|
}
|
||||||
|
elsif ($html) {
|
||||||
|
if ( $installed eq 'installed' ) {
|
||||||
|
$installed = $colorGreen . $installed . $colorClose;
|
||||||
|
}
|
||||||
|
elsif ($installed eq 'missing'
|
||||||
|
|| $installed eq 'outdated' )
|
||||||
|
{
|
||||||
|
$installed = $colorRed . uc($installed) . $colorClose;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$l .=
|
$l .=
|
||||||
|
Loading…
Reference in New Issue
Block a user