mirror of
https://github.com/powerline/powerline.git
synced 2025-07-25 23:05:32 +02:00
Do not require scripts/powerline
It may be immediately moved to bin/ sometimes or not compiled at all for some reason.
This commit is contained in:
parent
042d542231
commit
77a7a26782
@ -240,6 +240,13 @@ if test -z "${ONLY_SHELL}" || test "x${ONLY_SHELL%sh}" != "x${ONLY_SHELL}" || te
|
||||
*powerline.sh) TEST_CLIENT=shell ;;
|
||||
"") TEST_CLIENT=auto ;;
|
||||
esac
|
||||
if test "$TEST_CLIENT" = "C" && ! test -x scripts/powerline ; then
|
||||
if which powerline >/dev/null ; then
|
||||
POWERLINE_COMMAND=powerline
|
||||
else
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
if test "$TEST_CLIENT" = "shell" && ! which socat >/dev/null ; then
|
||||
continue
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user