planarchaos: count the number on nonunique pkgs
This commit is contained in:
parent
0f835ffa03
commit
d187f4deed
@ -78,14 +78,17 @@ esac
|
|||||||
ov_pkgs="$(use_eix --only-names --in-overlay "${1}")"
|
ov_pkgs="$(use_eix --only-names --in-overlay "${1}")"
|
||||||
known_unique="$(use_eix --only-in-overlay "${1}")"
|
known_unique="$(use_eix --only-in-overlay "${1}")"
|
||||||
|
|
||||||
|
nnuniq=0
|
||||||
|
|
||||||
|
|
||||||
for pkg in ${ov_pkgs}
|
for pkg in ${ov_pkgs}
|
||||||
do
|
do
|
||||||
# check if pkg is not in known_unique (other overlys have it)
|
# check if pkg is not in known_unique (other overlys have it)
|
||||||
if [ "${known_unique#*${pkg}}" = "${known_unique}" ]
|
if [ "${known_unique#*${pkg}}" = "${known_unique}" ]
|
||||||
then
|
then
|
||||||
|
nnuniq=$((nnuniq + 1))
|
||||||
echo
|
echo
|
||||||
ok_msg "Package ${pkg}:"
|
ok_msg "Package ${nnuniq} ${pkg}:"
|
||||||
use_eix --exact --force-color "${pkg}"
|
use_eix --exact --force-color "${pkg}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user