summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-13 16:15:11 +0200
committerErich Eckner <git@eckner.net>2018-06-13 16:15:11 +0200
commitd7d699efe7941f626617e952fb8ecf057f493ec8 (patch)
tree792d47a77c9a8c459702433bd42d3985382b2beb
parent63e29becccafbfeca5fa6b08abe731f38505f5e4 (diff)
downloadbuilder-d7d699efe7941f626617e952fb8ecf057f493ec8.tar.xz
$master_mirror_rsync_command now with "-l" by default
-rwxr-xr-xbin/return-assignment2
-rwxr-xr-xconf/master.conf.example2
-rwxr-xr-xlib/load-configuration2
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 05d49de..2e0d7db 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -577,7 +577,7 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
sort -u | \
while read -r arch repo; do
# shellcheck disable=SC2046
- ${master_mirror_rsync_command} -l \
+ ${master_mirror_rsync_command} \
"${arch}/${repo}/${repo}.db."* \
"${arch}/${repo}/${repo}.files."* \
$(
diff --git a/conf/master.conf.example b/conf/master.conf.example
index 1c21fb3..a3093e8 100755
--- a/conf/master.conf.example
+++ b/conf/master.conf.example
@@ -9,7 +9,7 @@
#repo_key='0xdeadbeef'
# to access the master mirror via rsync
-#master_mirror_rsync_command='rsync --password-file=/home/slave/rsync.password'
+#master_mirror_rsync_command='rsync --password-file=/home/slave/rsync.password -l'
#master_mirror_rsync_directory='rsync://buildmaster@mirror.archlinux32.org/packages32'
# to access the master mirror via sftp
diff --git a/lib/load-configuration b/lib/load-configuration
index ad44577..33a5742 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -44,7 +44,7 @@ repo_key='0xdeadbeef'
package_key='0x15eebadc0de'
# to access the master mirror via rsync
-master_mirror_rsync_command='rsync --password-file=/home/slave/rsync.password'
+master_mirror_rsync_command='rsync --password-file=/home/slave/rsync.password -l'
master_mirror_rsync_directory='rsync://buildmaster@mirror.archlinux32.org/packages32'
# to access the master mirror via sftp