From e32962196fb5c26643d7f3c02facba2b1d08c17e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 8 Jun 2018 08:43:30 +0200 Subject: lib/common-functions: remove_old_package_versions() fix location for rsync command --- lib/common-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/common-functions b/lib/common-functions index 3853089..e9534f4 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -202,8 +202,8 @@ remove_old_package_versions() { "${tmp_dir}/transit/" repo-remove "${tmp_dir}/transit/${repo}.db.tar.gz" "${pkgname}" ${master_mirror_rsync_command} \ - "${tmp_dir}/repos/${arch}/${repo}/${repo}.db."* \ - "${tmp_dir}/repos/${arch}/${repo}/${repo}.files."* \ + "${tmp_dir}/transit/${repo}.db."* \ + "${tmp_dir}/transit/${repo}.files."* \ "${master_mirror_rsync_directory}/${arch}/${repo}/" rm -rf --one-file-system "${tmp_dir}/transit" done < \ -- cgit v1.2.3-70-g09d2