Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/feeds
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-08 11:18:00 +0100
committerErich Eckner <git@eckner.net>2019-02-08 11:18:00 +0100
commit1f75ab18a6d7d3bb24aaa863185afb30b31ee61a (patch)
treec366a8f1a53dde5028984e3501d696825a12c129 /feeds
parentec827075fdddd5cc255ddd50aef45956fcc27541 (diff)
feeds/index.php: no "any"-feeds
Diffstat (limited to 'feeds')
-rw-r--r--feeds/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/feeds/index.php b/feeds/index.php
index 8c0f1a0..cce5a57 100644
--- a/feeds/index.php
+++ b/feeds/index.php
@@ -9,7 +9,10 @@ require_once BASE . "/lib/format.php";
print_header("RSS - Feeds");
$result = mysql_run_query(
- "SELECT `architectures`.`name` FROM `architectures` ORDER BY `name`"
+ "SELECT DISTINCT `architectures`.`name` FROM `architectures`" .
+ mysql_join_architectures_repositories() .
+ " WHERE `repositories`.`is_on_master_mirror`" .
+ " ORDER BY `name`"
);
$archs = array();
while ($row = $result -> fetch_assoc())