summaryrefslogtreecommitdiff
path: root/db-check-nonfree
diff options
context:
space:
mode:
Diffstat (limited to 'db-check-nonfree')
-rwxr-xr-xdb-check-nonfree10
1 files changed, 5 insertions, 5 deletions
diff --git a/db-check-nonfree b/db-check-nonfree
index 75c9626..1988c43 100755
--- a/db-check-nonfree
+++ b/db-check-nonfree
@@ -8,17 +8,17 @@ if [ $# -ge 1 ]; then
exit 1
fi
-# TODO: this might lock too much (native_architectures)
+# TODO: this might lock too much (main_architectures)
for repo in "${repos[@]}"; do
- for pkgarch in "${native_architectures[@]}"; do
+ for pkgarch in "${main_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 "${derivative_native_repositories[@]}"; do
- for pkgarch in "${native_architectures[@]}"; do
+for repo in "${derivative_main_repositories[@]}"; do
+ for pkgarch in "${main_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 "${native_architectures[@]}"; do
+ for pkgarch in "${main_architectures[@]}"; do
repo_unlock "${repo}" "${pkgarch}"
done
done