Commit 54c61190 authored by Dylan Araps's avatar Dylan Araps

Packages: Count chromebrew packages

parent e2ac1602
......@@ -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)))" ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment