summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-10 14:52:39 +0200
committerRemi Collet <remi@remirepo.net>2020-09-10 14:52:39 +0200
commite380efacece73b8c3497a5824a2f8841e340adc2 (patch)
treeabd1e066367055331e74db623b4a28789883fcdc
parent5b76a6b78b1973cc248220eb4f6b73447ce3a885 (diff)
Wizard: add notice for EL-6 EOL
-rw-r--r--wizard/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/wizard/index.php b/wizard/index.php
index b1c063d..d8d644d 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);
}