Packages: Count chromebrew packages

This commit is contained in:
Dylan Araps 2017-01-30 11:03:39 +11:00
parent e2ac16028d
commit 54c6119041

View file

@ -470,6 +470,9 @@ get_packages() {
type -p pkg_info >/dev/null && \
packages="$((packages+=$(pkg_info | wc -l)))"
type -p crew >/dev/null && \
packages="$((packages+=$(ls -l /usr/local/etc/crew/meta/*.filelist | wc -l)))"
if type -p pkg >/dev/null; then
case "$kernel_name" in
"FreeBSD") packages="$((packages+=$(pkg info | wc -l)))" ;;