Arkadiusz Rzadkowolski
2016-05-21 5b921e90886e40afc5a57aef7bcd25173cbcb7ae
install/lib/install.lib.php
@@ -82,7 +82,11 @@
        $relname = "(" . trim(trim($relname), "()") . ")";
        $distname = 'Ubuntu';
        $ver = reset($ver);
        $distid = 'debian40';
        if($ver == "16.04") {
            $distid = 'ubuntu1604';
        } else {
            $distid = 'debian40';
        }
        $distbaseid = 'debian';
        $distver = $ver . $lts . " " . $relname;
        swriteln("Operating System: " . $distver . "\n");
@@ -300,6 +304,12 @@
         $distid = 'centos53';
         $distbaseid = 'fedora';
         swriteln("Operating System: CentOS 6 or compatible\n");
      } elseif(stristr($content, 'CentOS Linux release 7.2')) {
         $distname = 'CentOS';
         $distver = 'Unknown';
         $distid = 'centos72';
         $distbaseid = 'fedora';
         swriteln("Operating System: CentOS 7.2\n");
      } elseif(stristr($content, 'CentOS Linux release 7')) {
         $distname = 'CentOS';
         $distver = 'Unknown';