@@ 955-957 (lines=3) @@ | ||
952 | } else { |
|
953 | $tofind = $distro['Release']; |
|
954 | } |
|
955 | if (!preg_match("/^".$tofind."[\s\.]|[\(\[]".$tofind."[\.\)\]]|\s".$tofind."$|\s".$tofind."[\s\.]/", $distro['Description'])) { |
|
956 | $this->sys->setDistribution($this->sys->getDistribution()." ".$distro['Release']); |
|
957 | } |
|
958 | } |
|
959 | } elseif (isset($distro['Distributor ID']) && ($distro['Distributor ID'] != "n/a")) { |
|
960 | $this->sys->setDistribution($distro['Distributor ID']); |
|
@@ 995-997 (lines=3) @@ | ||
992 | } else { |
|
993 | $tofind = trim($vers_buf[1]); |
|
994 | } |
|
995 | if (!preg_match("/^".$tofind."[\s\.]|[\(\[]".$tofind."[\.\)\]]|\s".$tofind."$|\s".$tofind."[\s\.]/", trim($desc_buf[1]))) { |
|
996 | $this->sys->setDistribution($this->sys->getDistribution()." ".trim($vers_buf[1])); |
|
997 | } |
|
998 | } |
|
999 | } else { |
|
1000 | if (isset($list[trim($id_buf[1])]['Name'])) { |