From 178c720a4c2fd8adf20e6109784c39cc27dd6b30 Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Fri, 9 Sep 2011 12:35:46 -0700 Subject: Inform found packages --- db-check-nonfree | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf