summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildmaster/to-delete.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildmaster/to-delete.php b/buildmaster/to-delete.php
index f287ce5..394ff6b 100644
--- a/buildmaster/to-delete.php
+++ b/buildmaster/to-delete.php
@@ -7,6 +7,7 @@ abort_iff_webspider();
$result = mysql_run_query(
"SELECT " .
+ "`r_a`.`name` AS `repo_arch`," .
"`repositories`.`name` AS `repo`," .
"`binary_packages`.`pkgname`," .
"`binary_packages`.`epoch`," .
@@ -19,6 +20,7 @@ abort_iff_webspider();
mysql_join_binary_packages_architectures() .
mysql_join_binary_packages_binary_packages_in_repositories() .
mysql_join_binary_packages_in_repositories_repositories() .
+ mysql_join_repositories_architectures('', 'r_a') .
" LEFT JOIN `upstream_packages`" .
" ON `upstream_packages`.`pkgname`=`binary_packages`.`pkgname`" .
" WHERE `binary_packages_in_repositories`.`is_to_be_deleted`" .
@@ -50,6 +52,7 @@ if ($result -> num_rows > 0) {
$rows[$count] =
"<font color=\"" . $color . "\">" .
+ $row["repo_arch"] . "/" .
$row["repo"] . "/" .
$row["pkgname"] . "-";
if ($row["epoch"] != "0")