index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-09-10 09:42:28 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-10 09:42:28 +0200 |
commit | 0eae9c3f895ddf187e3807aa76ae3400379a2ad1 (patch) | |
tree | f08c3b7ad5038c9d810c26cfba29aa90c93f643a /bin/db-update | |
parent | 6d10a24d55bfdadcce69f3f0beb4c1a018af8060 (diff) |
-rwxr-xr-x | bin/db-update | 4 |
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}/" |