summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--non-mandatory.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/non-mandatory.php b/non-mandatory.php
index c7f3654..f6f5129 100644
--- a/non-mandatory.php
+++ b/non-mandatory.php
@@ -62,8 +62,9 @@ echo "<table>\n";
$status_file = $upload_dir . '/failure/' . $p['path'] . '/log/status.log';
$status_line = trim(preg_replace('/.*: /', '', file_get_contents($status_file)));
if ($status_line == 'missing_dep') {
- $install_deps_files = glob($upload_dir . '/failure/' . $p['path'] . '/log/' . $p['package'] . '/install_deps*.log');
- $f = fopen($install_deps_files[0], "r");
+ $install_deps_files = glob($upload_dir . '/failure/' . $p['path'] . '/log/' . $p['package'] . '/install_deps*.log');
+ $install_deps_file = $install_deps_files[count($install_deps_files)-1];
+ $f = fopen($install_deps_file, "r");
$dep_line = "";
while(($line = fgets($f, 4096)) !== false) {
if(preg_match('/due to unsatisfied (.*)\)/', $line, $matches) == 1) {
@@ -71,7 +72,7 @@ echo "<table>\n";
}
}
fclose($f);
- $link = '/uploads/failure/' . $p['path'] . '/log/' . $p['package'] . '/' . basename($install_deps_files[0]);
+ $link = '/uploads/failure/' . $p['path'] . '/log/' . $p['package'] . '/' . basename($install_deps_file);
echo '<td><a rel="nofollow" href="' . $link . '">' . $status_line . '</a> ' . $dep_line . '</td>';
} elseif ($status_line == 'recreate_srpm_failure') {
$botcmd_files = glob($upload_dir . '/failure/' . $p['path'] . '/log/botcmd.*.log');
><white>vgahi</white> for high resolution graphical installation. o <white>vga16</white> for 640x480 in 16 colors graphical installation. The following options may be added on the command line : o <white>readonly=1</white> to disable editing disk partitions. o <white>display=ackbar:0</white> to export display to <blue>ackbar</blue> machine screen 0 during installation. o <white>noauto</white> to disable automatic detection (generally used with <white>expert</white>). o <white>security=n</white> to set security level to value <blue>n</blue>. o <white>updatemodules</white> to use the special update floppy containing modules updates. o <white>patch</white> to use a patch from the floppy (file named <blue>patch.pl</blue>). o <white>auto_install=floppy</white> to enable auto_install using <blue>auto_inst.cfg</blue> file on the floppy. o <white>memtest</white> to test your computer RAM for faulty memory modules. </document>