mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-04 22:30:02 +00:00
packages: cleanup
This commit is contained in:
3
neofetch
3
neofetch
@@ -1337,9 +1337,6 @@ get_packages() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X" | "MINIX")
|
"Mac OS X" | "MINIX")
|
||||||
[[ -d "/usr/local/bin" ]] && \
|
|
||||||
packages="$(($(ls -l /usr/local/bin/ | grep -cv "\(../Cellar/\|brew\)") - 1))"
|
|
||||||
|
|
||||||
type -p port >/dev/null && \
|
type -p port >/dev/null && \
|
||||||
((packages+=$(port installed | wc -l) - 1))
|
((packages+=$(port installed | wc -l) - 1))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user