[PR] #340 from barracuda156: Add MacPorts for linux & bsd
Some checks are pending
Shellcheck / check (push) Waiting to run

neofetch: support MacPorts on Linux & BSD
This commit is contained in:
Azalea
2024-10-21 20:07:28 -04:00
committed by GitHub

View File

@@ -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