From b18ac3f91ee60a14b6314c699f4eb9ca4c71bf41 Mon Sep 17 00:00:00 2001 From: InstanceLabs Date: Thu, 30 Mar 2017 15:28:17 +0200 Subject: [PATCH] Fix shell detection on Raspbian --- screenfetch-dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenfetch-dev b/screenfetch-dev index 4737559..27f9f02 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -1489,7 +1489,7 @@ detectshell_ver () { } detectshell () { if [[ ! "${shell_type}" ]]; then - if [[ "${distro}" == "Cygwin" || "${distro}" == "Msys" || "${distro}" == "Haiku" || "${distro}" == "Alpine Linux" || "${OSTYPE}" == "gnu" || "${distro}" == "TinyCore" ]]; then + if [[ "${distro}" == "Cygwin" || "${distro}" == "Msys" || "${distro}" == "Haiku" || "${distro}" == "Alpine Linux" || "${OSTYPE}" == "gnu" || "${distro}" == "TinyCore" || "${distro}" == "Raspbian" ]]; then shell_type=$(echo "$SHELL" | awk -F'/' '{print $NF}') elif readlink -f "$SHELL" | grep -q "busybox"; then shell_type="BusyBox"