From a6fc54fea6be7bb1e5a64a8429d8832d8456b19f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 15 Feb 2018 00:20:56 +0100 Subject: bin/get-package-updates: repair blacklisting --- bin/get-package-updates | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin/get-package-updates') 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 | \ -- cgit v1.2.3-70-g09d2