summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdb-check-nonfree3
1 files changed, 2 insertions, 1 deletions
diff --git a/db-check-nonfree b/db-check-nonfree
index 83efb14..ab6491d 100755
--- a/db-check-nonfree
+++ b/db-check-nonfree
@@ -29,10 +29,11 @@ for repo in ${ARCHREPOS[@]}; do
dbpkgs=($(bsdtar -xOf "${FTP_BASE}/${repo}/os/${pkgarch}/${repo}${DBEXT}" | awk '/^%NAME%/{getline;print}' | sort -u ))
for pkgname in ${dbpkgs[@]}; do
if in_array ${pkgname} ${nonfree[@]}; then
- cleanpkgs[${#cleanpkgs[*]}]=${pkgname}
+ cleanpkgs+=(${pkgname})
fi
done
if [ ${#cleanpkgs[@]} -ge 1 ]; then
+ msg2 "Unfree: ${cleanpkgs[@]}"
arch_repo_remove "${repo}" "${pkgarch}" ${cleanpkgs[@]}
fi
done