summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/differences.php3
-rw-r--r--packages/pkginfo.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/differences.php b/packages/differences.php
index f04ea67..0673715 100644
--- a/packages/differences.php
+++ b/packages/differences.php
@@ -56,6 +56,9 @@ function check_a_older_than_b($a_v, $a_bp, $b_v, $b_bp) {
')';
}
+# TODO: should have a separate column for pentium4 - maybe it makes sense
+# to make this filterable to only compare two architectures!
+
$result = mysql_run_query(
'SELECT ' .
'`bp_i486`.`pkgname`,' .
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 86f7100..5d93db9 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -16,7 +16,7 @@ if (!array_key_exists('repo_arch', $_GET)) {
unset($_GET['arch']);
}
-if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='any')) {
+if (($_GET['repo']=='i686') || ($_GET['repo']=='i486') || ($_GET['repo']=='pentium4') || ($_GET['repo']=='any')) {
header('Location: ' . $uri_prefix . $_GET['repo'] . '/' . $_GET['repo_arch'] . '/' . $_GET['pkgname'] . '/');
die();
}