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 0da62cb..75c9626 100755
--- a/db-check-nonfree
+++ b/db-check-nonfree
@@ -8,9 +8,9 @@ if [ $# -ge 1 ]; then
exit 1
fi
-# TODO: this might lock too much (architectures)
+# TODO: this might lock too much (native_architectures)
for repo in "${repos[@]}"; do
- for pkgarch in "${architectures[@]}"; do
+ for pkgarch in "${native_architectures[@]}"; do
repo_lock "${repo}" "${pkgarch}" || exit 1
done
done
@@ -18,7 +18,7 @@ done
msg "Check nonfree in repo:"
nonfree=($(cut -d: -f1 "${blacklist_file}" | sort -u))
for repo in "${derivative_native_repositories[@]}"; do
- for pkgarch in "${architectures[@]}"; do
+ for pkgarch in "${native_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 "${derivative_native_repositories[@]}"; do
done
for repo in "${repos[@]}"; do
- for pkgarch in "${architectures[@]}"; do
+ for pkgarch in "${native_architectures[@]}"; do
repo_unlock "${repo}" "${pkgarch}"
done
done