mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +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
|
||||
&& $installed eq 'included' );
|
||||
|
||||
if ($html) {
|
||||
$installed = $colorGreen . $installed . $colorClose
|
||||
if ( $installed eq 'installed' );
|
||||
$installed = $colorRed . uc($installed) . $colorClose
|
||||
if ( $installed eq 'missing'
|
||||
|| $installed eq 'outdated' );
|
||||
if (
|
||||
$mAttr ne 'required'
|
||||
&& ( $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 .=
|
||||
|
Loading…
Reference in New Issue
Block a user