From 1df881c55e587c587235ec41a66c6537c21cc8a0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 30 Jun 2017 09:58:51 +0200 Subject: master_mirror_command, master_mirror_directory -> master_mirror_rsync_command, master_mirror_rsync_directory --- bin/common-functions | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/common-functions') diff --git a/bin/common-functions b/bin/common-functions index 0d46382..9c148a5 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -255,8 +255,8 @@ ls_master_mirror() { local path="$1" - ${master_mirror_command} \ - "${master_mirror_directory}/${path}/" | \ + ${master_mirror_rsync_command} \ + "${master_mirror_rsync_directory}/${path}/" | \ grep -v '\s\.$' | \ awk '{print $5}' @@ -272,7 +272,7 @@ remove_old_package_versions() { local pkgname="${package%-*-*-*.pkg.tar.xz}" - ${master_mirror_command} \ + ${master_mirror_rsync_command} \ --recursive \ --delete \ $( \ @@ -283,7 +283,7 @@ remove_old_package_versions() { ) \ '--exclude=*' \ ./ \ - "${master_mirror_directory}/${directory}/" + "${master_mirror_rsync_directory}/${directory}/" } -- cgit v1.2.3-70-g09d2