Packages: Count chromebrew packages
This commit is contained in:
parent
e2ac16028d
commit
54c6119041
1 changed files with 3 additions and 0 deletions
3
neofetch
3
neofetch
|
@ -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)))" ;;
|
||||
|
|
Loading…
Reference in a new issue