From 057caf194aa7a9ecd49fba424d34065190304608 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 6 Feb 2018 10:41:33 +0100 Subject: bin/build-master-status-from-mysql: is_to_be_deleted should be considered on the deletion-list, too --- bin/build-master-status-from-mysql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index 8e828f7..408ef1e 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -40,7 +40,8 @@ sort "${work_dir}/build-list" > \ 'build_assignments' 'build_assignments' 'package_source' 'package_sources' \ 'binary_packages' 'binary_packages' 'build_assignment' 'build_assignments' \ 'repositories' 'binary_packages' 'repository' 'repositories' - printf ' WHERE `repositories`.`name`="deletion-list";\n' + printf ' WHERE `repositories`.`name`="deletion-list"' + printf ' OR `binary_packages`.`is_to_be_deleted`;\n' } | \ ${mysql_command} --batch | \ sed ' -- cgit v1.2.3-70-g09d2