From 0eae9c3f895ddf187e3807aa76ae3400379a2ad1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 10 Sep 2018 09:42:28 +0200 Subject: lib/common-functions: failsafe_rsync() new --- bin/delete-packages | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/delete-packages') 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}/" -- cgit v1.2.3-70-g09d2