Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pkgapi/pkginfo.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-12 14:00:46 +0200
committerErich Eckner <git@eckner.net>2019-04-12 14:00:46 +0200
commitb1b6b1b2674a68034c39a3f6dd71abdd59f76ed1 (patch)
tree43ca6cc513cf17d588ef78e9c84c1fe6e9d1ca40 /pkgapi/pkginfo.php
parentbc47738997114be668da8975b9f4d6d18ff65925 (diff)
pkgapi: knows about pentium4, now
Diffstat (limited to 'pkgapi/pkginfo.php')
-rw-r--r--pkgapi/pkginfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgapi/pkginfo.php b/pkgapi/pkginfo.php
index 083481a..d9701ec 100644
--- a/pkgapi/pkginfo.php
+++ b/pkgapi/pkginfo.php
@@ -10,7 +10,7 @@ foreach (array('arch', 'repo', 'pkgname') as $must_have_key) {
throw_http_error(400, 'Malformed request', 'Value for ' . $must_have_key . ' is invalid.');
}
-if (($_GET['arch'] != 'i486') && ($_GET['arch'] != 'i686'))
+if (($_GET['arch'] != 'i486') && ($_GET['arch'] != 'i686') && ($_GET['arch'] != 'pentium4'))
throw_http_error(400, 'Malformed request', 'Architecture ' . $_GET['arch'] . ' is unkown.');
$infos = trim(