Skip to content

Commit 9ccb489

Browse files
pkubajShaun Prince
authored andcommitted
fix(bsd): Correct architecture detection on *BSD
FreeBSD and NetBSD use uname -p for architecture detection. Add BSD to the list of OSes that use this method. Cherry-picked from dylanaraps#2191
1 parent 17cc477 commit 9ccb489

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

neofetch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ get_distro() {
12331233

12341234
# Get OS architecture.
12351235
case $os in
1236-
Solaris|AIX|Haiku|IRIX|FreeMiNT)
1236+
Solaris|AIX|Haiku|IRIX|FreeMiNT|BSD)
12371237
machine_arch=$(uname -p)
12381238
;;
12391239

0 commit comments

Comments
 (0)