Skip to content

Commit

Permalink
[PR] #340 from barracuda156: Add MacPorts for linux & bsd
Browse files Browse the repository at this point in the history
neofetch: support MacPorts on Linux & BSD
  • Loading branch information
hykilpikonna authored Oct 22, 2024
2 parents e184ed6 + d309f2d commit a5f648a
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 @@ -2181,6 +2181,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 a5f648a

Please sign in to comment.