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 43d5236..ad33b19 100755
--- a/cron-jobs/ftpdir-cleanup
+++ b/cron-jobs/ftpdir-cleanup
@@ -25,7 +25,7 @@ clean_pkg() {
"${cleanup_dryrun}" && warning 'dry run mode is active'
for repo in "${repositories[@]}"; do
- for arch in "${architectures[@]}"; do
+ for arch in "${native_architectures[@]}"; do
if [ ! -f "${root_dir}/${repo}/os/${arch}/${repo}${database_extension_suffixfile}" ]; then
continue
fi
@@ -80,7 +80,7 @@ if [ ${#old_pkgs[@]} -ge 1 ]; then
fi
for repo in "${repositories[@]}"; do
- for arch in "${architectures[@]}"; do
+ for arch in "${native_architectures[@]}"; do
repo_unlock "${repo}" "${arch}"
done
done