Merge pull request #1299 from dawidd6/brew_linux
packages: Check brew on Linux
This commit is contained in:
commit
81545a0117
1
neofetch
1
neofetch
|
@ -1347,6 +1347,7 @@ get_packages() {
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
{
|
{
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
has "brew" && dir "$(brew --cellar)"/*
|
||||||
has "emerge" && dir ${br_prefix}/var/db/pkg/*/*/
|
has "emerge" && dir ${br_prefix}/var/db/pkg/*/*/
|
||||||
has "Compile" && dir ${br_prefix}/Programs/*/
|
has "Compile" && dir ${br_prefix}/Programs/*/
|
||||||
has "eopkg" && dir ${br_prefix}/var/lib/eopkg/package/*
|
has "eopkg" && dir ${br_prefix}/var/lib/eopkg/package/*
|
||||||
|
|
Reference in New Issue