diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-23 20:23:50 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-23 20:23:50 -0300 |
commit | dfcaa1e1423a59057eb84273b1982d69f31e9be8 (patch) | |
tree | 2657bf9a15aadd177c7f29c12536fce2c702b780 /db-cleanup | |
parent | b1fbfc099cb91a094128ffd86d16b2206a181f65 (diff) |
fix variables
Diffstat (limited to 'db-cleanup')
-rwxr-xr-x | db-cleanup | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 \ |