From e380efacece73b8c3497a5824a2f8841e340adc2 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 10 Sep 2020 14:52:39 +0200
Subject: Wizard: add notice for EL-6 EOL

---
 wizard/index.php | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'wizard/index.php')

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);
     }
-- 
cgit