summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-13 15:54:06 +0100
committerErich Eckner <git@eckner.net>2018-03-13 15:54:06 +0100
commitfad367e19d2adb6662a5543645e77190e85e94e9 (patch)
tree59eb4eac79c2e7027ecbf670e62ec9aa90b6615a /bin/db-update
parent79a749a8d46ca2b8b018234da307490be79a3116 (diff)
downloadbuilder-fad367e19d2adb6662a5543645e77190e85e94e9.tar.xz
bin/db-update: trigger the mirror refreshs at the end, not in between
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index 2e8e229..8a68346 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -341,8 +341,6 @@ for source_stability in 'testing' 'staging'; do
done < \
"${tmp_dir}/repositories"
- trigger_mirror_refreshs
-
# shellcheck disable=SC2016
{
printf 'CREATE TEMPORARY TABLE `replaced_binary_packages` (`id` BIGINT, UNIQUE KEY (`id`));\n'
@@ -414,3 +412,5 @@ for source_stability in 'testing' 'staging'; do
-not -exec test -s '{}' \; \
-delete
done
+
+trigger_mirror_refreshs