|
@@ 1012-1014 (lines=3) @@
|
| 1009 |
|
$this->sys->setDistribution($this->sys->getDistribution()." (".trim($vers_buf[1]).")"); |
| 1010 |
|
} |
| 1011 |
|
} |
| 1012 |
|
if (isset($list[trim($id_buf[1])]['Image'])) { |
| 1013 |
|
$this->sys->setDistributionIcon($list[trim($id_buf[1])]['Image']); |
| 1014 |
|
} |
| 1015 |
|
} else { // otherwise find files specific for distribution |
| 1016 |
|
foreach ($list as $section=>$distribution) { |
| 1017 |
|
if (!isset($distribution['Files'])) { |
|
@@ 1175-1177 (lines=3) @@
|
| 1172 |
|
$this->sys->setDistribution($this->sys->getDistribution()." ".trim($vers_buf[1])); |
| 1173 |
|
} |
| 1174 |
|
} |
| 1175 |
|
if (isset($list[trim($id_buf[1])]['Image'])) { |
| 1176 |
|
$this->sys->setDistributionIcon($list[trim($id_buf[1])]['Image']); |
| 1177 |
|
} |
| 1178 |
|
} |
| 1179 |
|
} elseif (CommonFunctions::fileexists($filename="/etc/debian_version")) { |
| 1180 |
|
if (!CommonFunctions::rfts($filename, $buf, 1, 4096, false)) { |