summaryrefslogtreecommitdiff
path: root/db-cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'db-cleanup')
-rwxr-xr-xdb-cleanup6
1 files changed, 3 insertions, 3 deletions
diff --git a/db-cleanup b/db-cleanup
index a6ab160..a868c02 100755
--- a/db-cleanup
+++ b/db-cleanup
@@ -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 \