| | |
| | | /* |
| | | * Fetch the output |
| | | */ |
| | | $data['output'] = $aptData; |
| | | $data['output'] = shell_exec('apt-get -s -q dist-upgrade'); |
| | | } elseif (file_exists('/etc/gentoo-release')) { |
| | | |
| | | /* |
| | |
| | | /* fetch the next line */ |
| | | $line = $tmp[$i]; |
| | | |
| | | if ((strpos($line, '[U_]') !== false) || (strpos($line, '[_U]') !== false)) { |
| | | if ((strpos($line, 'U_]') !== false) || (strpos($line, '[_U') !== false) || (strpos($line, 'U_U') !== false)) { |
| | | /* One Disk is not working. |
| | | * if the next line starts with "[>" or "[=" then |
| | | * recovery (resync) is in state and the state is |