--- neofetch-7.1.0/neofetch.orig 2020-08-02 11:37:41.000000000 +0000 +++ neofetch-7.1.0/neofetch 2021-05-28 10:44:45.728131406 +0000 @@ -1545,6 +1545,9 @@ case $kernel_name in FreeBSD|DragonFly) has pkg && tot pkg info ;; + SunOS) + has pkg && tot pkg list ;; + *) has pkg && dir /var/db/pkg/*