summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/get-package-updates6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 0b4d4f5..67e3f73 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -456,6 +456,12 @@ while [ -n "${black_listed_new}" ]; do
printf ' WHERE `install_target_providers`.`package`=`b_bp`.`id`'
printf ')'
printf ' AND `install_target_providers`.`install_target`=`dependencies`.`depending_on`'
+ printf ') AND EXISTS ('
+ # TODO: This should be corrected at the root: automatic install targets, which are bogus should
+ # not be added in the first place - but how do we detect that?
+ printf ' SELECT *'
+ printf ' FROM `install_target_providers`'
+ printf ' WHERE `install_target_providers`.`install_target`=`dependencies`.`depending_on`'
printf ');\n'
} | \
${mysql_command} --raw --batch | \