[PR] dylanaraps/neofetch#2014 from jrtc27 - neofetch: Don't hang on FreeBSD if pkg is not yet bootstrapped

Upstream PR: https://github.com/dylanaraps/neofetch/pull/2014
Thanks to @jrtc27

Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com>
This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-07-31 16:33:56 -04:00
commit b12f35fb0b

View file

@ -1660,7 +1660,7 @@ get_packages() {
case $os-$kernel_name in
BSD-FreeBSD|BSD-DragonFly)
has pkg && tot pkg info
has pkg && tot pkg info </dev/null
;;
BSD-*)