From 24e1fd05ead6daf0acda29ba30d22441a6915955 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 11 Jun 2018 16:29:30 +0200 Subject: lib/common-functions: remove_old_package_versions(): read bpir_ids from stdin, do not fail on non-existend action files --- bin/return-assignment | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin/return-assignment') diff --git a/bin/return-assignment b/bin/return-assignment index c55f61b..220d928 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -722,7 +722,4 @@ trigger_mirror_refreshs } | \ mysql_run_query | \ sort -u | \ - while read -r bpir_id; do - # TODO: this needs to get faster, it is currently the bottleneck - remove_old_package_versions "${bpir_id}" - done + remove_old_package_versions -- cgit v1.2.3-54-g00ecf