summaryrefslogtreecommitdiff
path: root/bin/delete-packages
diff options
context:
space:
mode:
Diffstat (limited to 'bin/delete-packages')
-rwxr-xr-xbin/delete-packages4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/delete-packages b/bin/delete-packages
index 50fc853..0c1689f 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -326,7 +326,7 @@ mkdir "${tmp_dir}/repos"
while read -r arch repo; do
mkdir -p "${tmp_dir}/repos/${arch}"
- ${master_mirror_rsync_command} \
+ failsafe_rsync \
"${master_mirror_rsync_directory}/${arch}/${repo}/${repo}.db.tar.gz" \
"${master_mirror_rsync_directory}/${arch}/${repo}/${repo}.files.tar.gz" \
"${tmp_dir}/repos/${arch}"
@@ -342,7 +342,7 @@ while read -r arch repo; do
"${tmp_dir}" \
"${tmp_dir}/repos/${arch}/${repo}."*".tar.gz" \
"${tmp_dir}/repos/${arch}/${repo}."*".tar.gz.old"
- ${master_mirror_rsync_command} \
+ failsafe_rsync \
"${tmp_dir}/repos/${arch}/${repo}.db."* \
"${tmp_dir}/repos/${arch}/${repo}.files."* \
"${master_mirror_rsync_directory}/${arch}/${repo}/"