summaryrefslogtreecommitdiff
path: root/bin/return-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-xbin/return-assignment6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index d8c6028..b29764c 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -586,7 +586,7 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
while read -r arch repo; do
mkdir -p "${arch}/${repo}"
- ${master_mirror_rsync_command} \
+ failsafe_rsync \
"${master_mirror_rsync_directory}/${arch}/${repo}/${repo}.db."* \
"${master_mirror_rsync_directory}/${arch}/${repo}/${repo}.files."* \
"${arch}/${repo}/"
@@ -599,7 +599,7 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
done
# upload the packages into /pool
-${master_mirror_rsync_command} -c --copy-dest=/.transfer \
+failsafe_rsync -c --copy-dest=/.transfer \
./*".pkg.tar.xz" \
./*".pkg.tar.xz.sig" \
"${master_mirror_rsync_directory}/pool/"
@@ -621,7 +621,7 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
"${arch}/${repo}/${repo}."*".tar.gz" \
"${arch}/${repo}/${repo}."*".tar.gz.old"
# shellcheck disable=SC2046
- ${master_mirror_rsync_command} \
+ failsafe_rsync \
"${arch}/${repo}/${repo}.db."* \
"${arch}/${repo}/${repo}.files."* \
$(