From 00b16038243dd784121bd9fc148a2218c72bb178 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 3 Nov 2015 01:42:24 +0100 Subject: Make noarch failure fatal as well --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib.php') diff --git a/lib.php b/lib.php index 7d89e41..05fe74f 100644 --- a/lib.php +++ b/lib.php @@ -133,7 +133,7 @@ function get_refined_packages_list($list_of_files, $package = null, $user = null $pkgs[$key]['status']['fail'] = array(); } $pkgs[$key]['status']['fail'][$arch] = 1; - if (in_array($arch, $mandatory_arches)) { + if (in_array($arch, $mandatory_arches) || $arch == 'noarch') { $status = 'failure'; } } -- cgit v1.2.1