diff --git a/src/distroquery.c b/src/distroquery.c
index 24f15b8..87f12a3 100644
--- a/src/distroquery.c
+++ b/src/distroquery.c
@@ -616,14 +616,26 @@ void printQueryResponse() {
sqlite3_column_text(statement,1));*/
/* download */
- printf("
",
- query_repositories[i]->download_prefix,
- query_repositories[i]->download_dir,
- sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "name")),
- sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "version")),
- sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "release")),
- _("Download"));
+ if (!query_repositories[i]->arch[a]) {
+ printf("",
+ query_repositories[i]->download_prefix,
+ query_repositories[i]->download_dir,
+ sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "name")),
+ sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "version")),
+ sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "release")),
+ _("Download"));
+ } else {
+ printf("",
+ query_repositories[i]->download_prefix,
+ query_repositories[i]->download_dir,
+ sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "name")),
+ sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "version")),
+ sqlite3_column_text(statement,sqlite3_find_column_id(statement, NULL, "release")),
+ query_repositories[i]->arch[a],
+ _("Download"));
+ }
/* details */
printf(" "