diff options
Diffstat (limited to 'db-cleanup')
-rwxr-xr-x | db-cleanup | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -31,8 +31,8 @@ EXTRAFLAGS=() filter=$(mktemp -t "${0##*/}.XXXXXXXXXX") trap "rm -f -- $(printf %q "$filter")" EXIT -for _repo in "${native_repositories[@]}"; do - for _arch in "${native_architectures[@]}"; do +for _repo in "${main_repositories[@]}"; do + for _arch in "${main_architectures[@]}"; do msg "Getting %s-%s database" "${_repo}" "${_arch}" dbfile="${root_dir}/${_repo}/os/${_arch}/${_repo}${database_extension_suffixfile}" @@ -53,7 +53,7 @@ done msg "Removing old files:" -for POOL in "${main_packages_pool}" "${main_sources_pool}"; do +for POOL in "${native_packages_pool}" "${native_sources_pool}"; do msg2 '%s' "${POOL}" rsync "${EXTRAFLAGS[@]}" -va --delete-excluded \ |