index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-04-12 14:11:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-12 14:11:21 +0200 |
commit | a853575b0532916f8633ad90b58e792aa45a9e70 (patch) | |
tree | 16d25dbcbbbae8a07867acd7e51c81aaa7f21693 /packages | |
parent | b1b6b1b2674a68034c39a3f6dd71abdd59f76ed1 (diff) |
-rw-r--r-- | packages/differences.php | 3 | ||||
-rw-r--r-- | packages/pkginfo.php | 2 |
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(); } |