diff --git a/index.php b/index.php
index 8310105..8889cf2 100644
--- a/index.php
+++ b/index.php
@@ -84,7 +84,10 @@ Function print_build($current, $next, $buildNr, $chan)
if ($next) {
- if (($current->linux_file && $current->osx_file)) {
+ if (($current->linux_file && $current->osx_file && $current->linux64_file)) {
+ print "
";
+ }
+ elseif (($current->linux_file && $current->osx_file)) {
print "
";
}
print '
@@ -98,7 +101,11 @@ Function print_build($current, $next, $buildNr, $chan)
Build Log";
if ($current->linux_file) {
- print "
Linux";
+ print "
Linux (32 bit)";
+ }
+
+ if ($current->linux64_file) {
+ print "
Linux (64 bit)";
}
if ($current->osx_file) {
@@ -157,10 +164,16 @@ if ($res = $DB->query(kl_str_sql("select * from builds where chan=!s $where orde
$build = new stdClass;
$DB->loadFromDbRow($build, $res, $row);
+
$linux_file = "SingularityAlpha-i686-{$build->version}.tar.bz2";
$build->linux_file = file_exists($linux_file) ? $linux_file : false;
+
+ $linux64_file = "SingularityAlpha-x86_64-{$build->version}.tar.bz2";
+ $build->linux64_file = file_exists($linux64_file) ? $linux64_file : false;
+
$osx_file = "SingularityAlpha_" . str_replace(".", "_", $build->version) . ".dmg";
$build->osx_file = file_exists($osx_file) ? $osx_file : false;
+
$builds[] = $build;
}
}