fix package count not including brew casks (#1777)
This commit is contained in:
parent
5e54a5e48b
commit
25127b7793
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1571,7 +1571,7 @@ get_packages() {
|
|||
# shellcheck disable=SC2086
|
||||
{
|
||||
shopt -s nullglob
|
||||
has brew && dir "$(brew --cellar)/*"
|
||||
has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*"
|
||||
has emerge && dir "/var/db/pkg/*/*"
|
||||
has Compile && dir "/Programs/*/"
|
||||
has eopkg && dir "/var/lib/eopkg/package/*"
|
||||
|
@ -1634,7 +1634,7 @@ get_packages() {
|
|||
|
||||
"Mac OS X"|"macOS"|MINIX)
|
||||
has port && pkgs_h=1 tot port installed && ((packages-=1))
|
||||
has brew && dir "$(brew --cellar)"/*
|
||||
has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*"
|
||||
has pkgin && tot pkgin list
|
||||
has dpkg && tot dpkg-query -f '.\n' -W
|
||||
|
||||
|
|
Loading…
Reference in a new issue