aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-package-version-details.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r--mod/mod-package-version-details.cxx5
1 files changed, 1 insertions, 4 deletions
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);