diff options
author | Remi Collet <remi@remirepo.net> | 2020-09-10 14:52:39 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-09-10 14:52:39 +0200 |
commit | e380efacece73b8c3497a5824a2f8841e340adc2 (patch) | |
tree | abd1e066367055331e74db623b4a28789883fcdc /wizard/index.php | |
parent | 5b76a6b78b1973cc248220eb4f6b73447ce3a885 (diff) |
Wizard: add notice for EL-6 EOL
Diffstat (limited to 'wizard/index.php')
-rw-r--r-- | wizard/index.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wizard/index.php b/wizard/index.php index b1c063de..d8d644dd 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -165,6 +165,9 @@ $counter = intval(@file_get_contents(COUNTER)); $err = false; if ($os) { list($dist, $ver) = explode(' ', $os, 2); + if ($ver == 6) { + printf("<li><b>%s</b> will reach its <b>end of life</b> in Nov 2020, upgrade is strongly recommended.</li><br />", $os); + } if (($dist == 'Fedora' && $ver<=FC_EOL) || ($dist != 'Fedora' && $ver<=EL_EOL)) { printf("<li><b>%s</b> have reached its <b>end of life</b>, upgrade is strongly recommended.</li><br />", $os); } |