summaryrefslogtreecommitdiff
path: root/cron-jobs/ftpdir-cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-xcron-jobs/ftpdir-cleanup4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup
index faa747a..e8321e3 100755
--- a/cron-jobs/ftpdir-cleanup
+++ b/cron-jobs/ftpdir-cleanup
@@ -24,7 +24,7 @@ clean_pkg() {
"${cleanup_dryrun}" && warning 'dry run mode is active'
-for repo in "${main_repositories[@]}"; do
+for repo in "${native_repositories[@]}"; do
for arch in "${native_architectures[@]}"; do
if [ ! -f "${root_dir}/${repo}/os/${arch}/${repo}${database_extension_suffixfile}" ]; then
continue
@@ -79,7 +79,7 @@ if [ ${#old_pkgs[@]} -ge 1 ]; then
done
fi
-for repo in "${main_repositories[@]}"; do
+for repo in "${native_repositories[@]}"; do
for arch in "${native_architectures[@]}"; do
repo_unlock "${repo}" "${arch}"
done