Small improvements to bootstrap-haskell
This commit is contained in:
parent
175066780b
commit
5ab1f6c203
@ -77,16 +77,17 @@ download_ghcup() {
|
|||||||
echo
|
echo
|
||||||
echo "Welcome to Haskell!"
|
echo "Welcome to Haskell!"
|
||||||
echo
|
echo
|
||||||
echo "This will download and install the Glasgow Haskell Compiler (GHC)"
|
echo "This script will download and install the following binaries:"
|
||||||
echo "and the Cabal build tool."
|
echo " * ghcup - The Haskell toolchain installer (for managing GHC/cabal versions)"
|
||||||
|
echo " * ghc - The Glasgow Haskell Compiler"
|
||||||
|
echo " * cabal - The Cabal build tool"
|
||||||
echo
|
echo
|
||||||
echo "ghcup installs only into the following directory, which can be removed anytime:"
|
echo "ghcup installs only into the following directory, which can be removed anytime:"
|
||||||
echo " $GHCUP_INSTALL_BASE_PREFIX/.ghcup"
|
echo " $GHCUP_INSTALL_BASE_PREFIX/.ghcup"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [ -z "${BOOTSTRAP_HASKELL_NONINTERACTIVE}" ] ; then
|
if [ -z "${BOOTSTRAP_HASKELL_NONINTERACTIVE}" ] ; then
|
||||||
printf "\\033[0;35m%s\\033[0m\\n" "Press ENTER to proceed"
|
printf "\\033[0;35m%s\\033[0m\\n" "Press ENTER to proceed or ctrl-c to abort."
|
||||||
printf "\\033[0;35m%s\\033[0m\\n" "or ctrl-c to abort."
|
|
||||||
printf "\\033[0;35m%s\\033[0m\\n" "Note that this script can be re-run at any given time."
|
printf "\\033[0;35m%s\\033[0m\\n" "Note that this script can be re-run at any given time."
|
||||||
echo
|
echo
|
||||||
# Wait for user input to continue.
|
# Wait for user input to continue.
|
||||||
@ -117,8 +118,7 @@ echo "$(ghcup tool-requirements)"
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
if [ -z "${BOOTSTRAP_HASKELL_NONINTERACTIVE}" ] ; then
|
if [ -z "${BOOTSTRAP_HASKELL_NONINTERACTIVE}" ] ; then
|
||||||
printf "\\033[0;35m%s\\033[0m\\n" "Press ENTER to proceed"
|
printf "\\033[0;35m%s\\033[0m\\n" "Press ENTER to proceed or ctrl-c to abort."
|
||||||
printf "\\033[0;35m%s\\033[0m\\n" "or ctrl-c to abort."
|
|
||||||
printf "\\033[0;35m%s\\033[0m\\n" "Installation may take a while."
|
printf "\\033[0;35m%s\\033[0m\\n" "Installation may take a while."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user