summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-12 09:07:51 +0200
committerErich Eckner <git@eckner.net>2019-07-12 09:07:51 +0200
commit8f7ac2897605d8ed0bd871a3bde41cd673958180 (patch)
tree17b2e0cd1fb99906ec43251a8d2e5f57abd4da21
parentdfed6151c82db7f8055e9f252e952e5797586f2f (diff)
downloadbuilder-8f7ac2897605d8ed0bd871a3bde41cd673958180.tar.xz
bin/return-assignment: trigger_mirror_refreshs should be run after possible duplicates have been removed
-rwxr-xr-xbin/return-assignment4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 8bcc1b9..75a358d 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -906,8 +906,6 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
"${master_mirror_rsync_directory}/${arch}/${repo}/"
done
-trigger_mirror_refreshs
-
# shellcheck disable=SC2016
{
# insert checksums into database
@@ -1158,3 +1156,5 @@ trigger_mirror_refreshs
mysql_run_query | \
sort -u | \
remove_old_package_versions
+
+trigger_mirror_refreshs