summaryrefslogtreecommitdiff
path: root/db-check-nonfree
diff options
context:
space:
mode:
Diffstat (limited to 'db-check-nonfree')
-rwxr-xr-xdb-check-nonfree8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-check-nonfree b/db-check-nonfree
index a1f54ee..e6eecb4 100755
--- a/db-check-nonfree
+++ b/db-check-nonfree
@@ -10,15 +10,15 @@ fi
# TODO: this might lock too much (architectures)
for repo in "${repos[@]}"; do
- for pkgarch in "${ARCHES[@]}"; do
+ for pkgarch in "${architectures[@]}"; do
repo_lock "${repo}" "${pkgarch}" || exit 1
done
done
msg "Check nonfree in repo:"
nonfree=($(cut -d: -f1 "${blacklist_file}" | sort -u))
-for repo in "${ARCHREPOS[@]}"; do
- for pkgarch in "${ARCHES[@]}"; do
+for repo in "${derivative_repositories[@]}"; do
+ for pkgarch in "${architectures[@]}"; do
msg2 "%s %s" "$repo" "$pkgarch"
if [ ! -f "${root_dir}/${repo}/os/${pkgarch}/${repo}${database_extension_suffixfile}" ]; then
continue
@@ -40,7 +40,7 @@ for repo in "${ARCHREPOS[@]}"; do
done
for repo in "${repos[@]}"; do
- for pkgarch in "${ARCHES[@]}"; do
+ for pkgarch in "${architectures[@]}"; do
repo_unlock "${repo}" "${pkgarch}"
done
done