summaryrefslogtreecommitdiff
path: root/db-cleanup
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 20:23:50 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-23 20:23:50 -0300
commitdfcaa1e1423a59057eb84273b1982d69f31e9be8 (patch)
tree2657bf9a15aadd177c7f29c12536fce2c702b780 /db-cleanup
parentb1fbfc099cb91a094128ffd86d16b2206a181f65 (diff)
fix variables
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 9426d11..e62681f 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 "${PKGREPOS[@]}"; do
- for _arch in "${ARCHES[@]}"; do
+for _repo in "${repositories[@]}"; do
+ for _arch in "${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 "${PKGPOOLS[@]}" "${SRCPOOLS[@]}"; do
+for POOL in "${packages_poolS[@]}" "${sources_poolS[@]}"; do
msg2 '%s' "${POOL}"
rsync "${EXTRAFLAGS[@]}" -va --delete-excluded \