Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-10 09:42:28 +0200
committerErich Eckner <git@eckner.net>2018-09-10 09:42:28 +0200
commit0eae9c3f895ddf187e3807aa76ae3400379a2ad1 (patch)
treef08c3b7ad5038c9d810c26cfba29aa90c93f643a /bin/db-update
parent6d10a24d55bfdadcce69f3f0beb4c1a018af8060 (diff)
lib/common-functions: failsafe_rsync() new
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 367fb36..9e5a59b 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -356,7 +356,7 @@ for source_stability in \
while read -r arch repo; do
mkdir -p "${tmp_dir}/dbs/${arch}/${repo}"
# shellcheck disable=SC2086
- ${master_mirror_rsync_command} \
+ failsafe_rsync \
"${master_mirror_rsync_directory}/${arch}/${repo}/${repo}.db."* \
"${master_mirror_rsync_directory}/${arch}/${repo}/${repo}.files."* \
"${tmp_dir}/dbs/${arch}/${repo}/"
@@ -456,7 +456,7 @@ for source_stability in \
"${tmp_dir}/dbs/${arch}/${repo}/${repo}."*".tar.gz" \
"${tmp_dir}/dbs/${arch}/${repo}/${repo}."*".tar.gz.old"
# shellcheck disable=SC2086
- ${master_mirror_rsync_command} \
+ failsafe_rsync \
"${tmp_dir}/dbs/${arch}/${repo}/${repo}.db."* \
"${tmp_dir}/dbs/${arch}/${repo}/${repo}.files."* \
"${master_mirror_rsync_directory}/${arch}/${repo}/"