Merge pull request #449 from konimex/master
Distro: Add last fallback for Linux and Hurd if no os-release was detected
This commit is contained in:
commit
b9c4daf099
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