Distro: Add last fallback if no distro was detected
This commit is contained in:
parent
74acf0a69e
commit
524a43dd33
1 changed files with 2 additions and 0 deletions
2
neofetch
2
neofetch
|
@ -243,6 +243,8 @@ get_distro() {
|
|||
;;
|
||||
esac
|
||||
|
||||
[[ -z "$distro" ]] && distro="$os (Unknown)"
|
||||
|
||||
# Get architecture
|
||||
[[ "$os_arch" == "on" ]] && \
|
||||
distro+=" ${machine_arch}"
|
||||
|
|
Loading…
Reference in a new issue