Unverified Commit 25127b77 authored by Fritz Geib's avatar Fritz Geib Committed by GitHub

fix package count not including brew casks (#1777)

parent 5e54a5e4
...@@ -1571,7 +1571,7 @@ get_packages() { ...@@ -1571,7 +1571,7 @@ get_packages() {
# shellcheck disable=SC2086 # shellcheck disable=SC2086
{ {
shopt -s nullglob shopt -s nullglob
has brew && dir "$(brew --cellar)/*" has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*"
has emerge && dir "/var/db/pkg/*/*" has emerge && dir "/var/db/pkg/*/*"
has Compile && dir "/Programs/*/" has Compile && dir "/Programs/*/"
has eopkg && dir "/var/lib/eopkg/package/*" has eopkg && dir "/var/lib/eopkg/package/*"
...@@ -1634,7 +1634,7 @@ get_packages() { ...@@ -1634,7 +1634,7 @@ get_packages() {
"Mac OS X"|"macOS"|MINIX) "Mac OS X"|"macOS"|MINIX)
has port && pkgs_h=1 tot port installed && ((packages-=1)) 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 pkgin && tot pkgin list
has dpkg && tot dpkg-query -f '.\n' -W has dpkg && tot dpkg-query -f '.\n' -W
......
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