Skip to content

Commit

Permalink
neofetch: support MacPorts on Linux & BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Aug 28, 2024
1 parent 95a6cc7 commit d309f2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -2153,6 +2153,7 @@ get_packages() {
has squirrel && tot ls /var/packages
has anise && tot anise s --installed
has am && pac "$(am -f --less)"
has port && pkgs_h=1 tot port installed && ((packages-=1))

# Using the dnf package cache is much faster than rpm.
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then
Expand Down

0 comments on commit d309f2d

Please sign in to comment.