Fix bootstrap-haskell prompts when no shell is detected

This commit is contained in:
Julian Ospald 2021-08-21 14:28:31 +02:00
parent 608ee07940
commit 1701b8a2f4
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -275,6 +275,8 @@ find_shell() {
ask_bashrc() { ask_bashrc() {
if [ -n "${BOOTSTRAP_HASKELL_ADJUST_BASHRC}" ] ; then if [ -n "${BOOTSTRAP_HASKELL_ADJUST_BASHRC}" ] ; then
return 1 return 1
elif [ -z "${MY_SHELL}" ] ; then
return 0
fi fi
while true; do while true; do