[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:
commit
b12f35fb0b
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1660,7 +1660,7 @@ get_packages() {
|
||||||
|
|
||||||
case $os-$kernel_name in
|
case $os-$kernel_name in
|
||||||
BSD-FreeBSD|BSD-DragonFly)
|
BSD-FreeBSD|BSD-DragonFly)
|
||||||
has pkg && tot pkg info
|
has pkg && tot pkg info </dev/null
|
||||||
;;
|
;;
|
||||||
|
|
||||||
BSD-*)
|
BSD-*)
|
||||||
|
|
Loading…
Reference in a new issue