We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1abf952 commit f6553cdCopy full SHA for f6553cd
install/lib/install.lib.php
@@ -341,6 +341,15 @@ function get_distname() {
341
$distid = 'centos72';
342
}
343
swriteln("Operating System: CentOS $var\n");
344
+ } elseif(stristr($content, 'CentOS Linux release 8')) {
345
+ $distname = 'CentOS';
346
+ $distver = 'Unknown';
347
+ $distbaseid = 'fedora';
348
+ $distid = 'centos80';
349
+ $var=explode(" ", $content);
350
+ $var=explode(".", $var[3]);
351
+ $var=$var[0].".".$var[1];
352
+ swriteln("Operating System: CentOS $var\n");
353
} else {
354
$distname = 'Redhat';
355
$distver = 'Unknown';
0 commit comments