diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-24 00:15:37 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-24 00:15:37 -0300 |
commit | 269be57f429162af70641cdf057d32c217d59ed7 (patch) | |
tree | 02cdb3fb0e78d24a1dbc3dbd1cb5607465df8356 /cron-jobs/ftpdir-cleanup | |
parent | e21b2e2ecc559e525d43650239631b838bb79d51 (diff) |
rename main_repositories -> native_repositories
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-x | cron-jobs/ftpdir-cleanup | 4 |
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 |