From 524a43dd330ed44202e6778cfbf87489091a09de Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Mon, 21 Nov 2016 21:06:06 +0700 Subject: [PATCH] Distro: Add last fallback if no distro was detected --- neofetch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neofetch b/neofetch index 03603f53..8611efaf 100755 --- a/neofetch +++ b/neofetch @@ -243,6 +243,8 @@ get_distro() { ;; esac + [[ -z "$distro" ]] && distro="$os (Unknown)" + # Get architecture [[ "$os_arch" == "on" ]] && \ distro+=" ${machine_arch}"