| @@ 1043-1047 (lines=5) @@ | ||
| 1040 | $this->sys->setDistributionIcon($distro['Image']); |
|
| 1041 | } |
|
| 1042 | if (isset($distribution['Name'])) { |
|
| 1043 | if (is_null($buf) || (trim($buf) == "")) { |
|
| 1044 | $this->sys->setDistribution($distribution['Name']); |
|
| 1045 | } else { |
|
| 1046 | $this->sys->setDistribution($distribution['Name']." ".trim($buf)); |
|
| 1047 | } |
|
| 1048 | } else { |
|
| 1049 | if (is_null($buf) || (trim($buf) == "")) { |
|
| 1050 | $this->sys->setDistribution($section); |
|
| @@ 1187-1191 (lines=5) @@ | ||
| 1184 | $this->sys->setDistributionIcon($list['Debian']['Image']); |
|
| 1185 | } |
|
| 1186 | if (isset($list['Debian']['Name'])) { |
|
| 1187 | if (is_null($buf) || (trim($buf) == "")) { |
|
| 1188 | $this->sys->setDistribution($list['Debian']['Name']); |
|
| 1189 | } else { |
|
| 1190 | $this->sys->setDistribution($list['Debian']['Name']." ".trim($buf)); |
|
| 1191 | } |
|
| 1192 | } else { |
|
| 1193 | if (is_null($buf) || (trim($buf) == "")) { |
|
| 1194 | $this->sys->setDistribution('Debian'); |
|