Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-15 00:20:56 +0100
committerErich Eckner <git@eckner.net>2018-02-15 00:20:56 +0100
commita6fc54fea6be7bb1e5a64a8429d8832d8456b19f (patch)
treefcd8c1336827a13c86a5dace979d4e4aac7783d2 /bin
parentb4eb9d2dcda28b0107b0bde28f4f4426bb08af05 (diff)
bin/get-package-updates: repair blacklisting
Diffstat (limited to 'bin')
-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 | \