From c28758a9327efc0f3bfc2f3c14d12b533750d94b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 8 Jul 2019 21:27:53 +0300 Subject: Add support for marking internal repository as non-buildable --- mod/mod-package-version-details.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'mod') diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index 1c7fac4..0271e03 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -350,10 +350,7 @@ handle (request& rq, response& rs) << ~TABLE; } - // Don't display the page builds section for stub packages. - // - bool builds (build_db_ != nullptr && - ver.compare (wildcard_version, true) != 0); + bool builds (build_db_ != nullptr && pkg->buildable); if (builds) package_db_->load (*pkg, pkg->build_section); -- cgit v1.1