summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-17 21:25:13 +0100
committerErich Eckner <git@eckner.net>2018-01-17 21:25:13 +0100
commit5fb9f8ad7843e087c974cc1af291b4f494824462 (patch)
tree73cdc7707602de3714c7a5cc2b6fc51642babbb6 /bin/db-update
parent041139bd471096ddc6be8c8b80c0f5619238dc7a (diff)
downloadbuilder-5fb9f8ad7843e087c974cc1af291b4f494824462.tar.xz
trigger_mirror_refreshs new to signal mirror changes and trigger updates of tier 1 mirrors
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/db-update b/bin/db-update
index 4d4fef1..5f19a28 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -324,12 +324,7 @@ move_packages() {
"${tmp_dir}/tmp/packages"
if ! ${no_action}; then
- date '+%s' > \
- "${tmp_dir}/tmp/lastupdate"
- # shellcheck disable=SC2086
- ${dummynator} ${master_mirror_rsync_command} \
- "${tmp_dir}/tmp/lastupdate" \
- "${master_mirror_rsync_directory}/lastupdate"
+ ${dummynator} trigger_mirror_refreshs
fi
rm -rf --one-file-system "${tmp_dir:?}/tmp"