mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-04-24 03:00:16 -04:00
Yet another "fix #456"
This commit is contained in:
@@ -1498,7 +1498,7 @@ detectshell () {
|
||||
if [[ ! "${shell_type}" ]]; 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
|
||||
elif readlink -f "$SHELL" 2>&1 | grep -q "busybox"; then
|
||||
shell_type="BusyBox"
|
||||
else
|
||||
if [[ "${OSTYPE}" == "linux-gnu" || "${OSTYPE}" == "linux" || "${OSTYPE}" == "linux-musl" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user