summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 442526a..c8ae383 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -965,9 +965,12 @@ update_blocked_packages_count() {
"${repository_ids__any_build_list}"
mysql_join_binary_packages_dependencies 'a_bp'
mysql_join_dependencies_dependency_types
- printf ' AND `dependency_types`.`relevant_for_binary_packages`'
mysql_join_dependencies_install_target_providers_with_versions
mysql_join_install_target_providers_binary_packages '' 'b_bp'
+ printf ' AND ('
+ printf '`dependency_types`.`relevant_for_binary_packages`'
+ printf ' OR `b_bp`.`pkgname` LIKE "haskell-%%",'
+ printf ')'
mysql_join_binary_packages_binary_packages_in_repositories 'b_bp' 'b_bpir'
printf ' AND `a_bpir`.`repository`=%s' \
"${repository_ids__any_build_list}"