summaryrefslogtreecommitdiff
path: root/db-check-nonfree
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-09-09 12:35:46 -0700
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-09-09 12:35:46 -0700
commit178c720a4c2fd8adf20e6109784c39cc27dd6b30 (patch)
treeef284c696890823ce6bec6c293e0413fe337df40 /db-check-nonfree
parent4d760a1e9b92168a07aa8c7a3a9de481ebcac2a5 (diff)
Inform found packages
Diffstat (limited to 'db-check-nonfree')
-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