diff options
author | Erich Eckner <git@eckner.net> | 2018-06-08 08:43:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-08 08:43:30 +0200 |
commit | e32962196fb5c26643d7f3c02facba2b1d08c17e (patch) | |
tree | 7fe9cfea0b5cc91dab2469683b2f68bfea062b17 | |
parent | 19331c922ef3903a622d02fb0070ab006216579a (diff) | |
download | builder-e32962196fb5c26643d7f3c02facba2b1d08c17e.tar.xz |
lib/common-functions: remove_old_package_versions() fix location for rsync command
-rwxr-xr-x | lib/common-functions | 4 |
1 files changed, 2 insertions, 2 deletions
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 < \ |