From 8e1a5a01723bd8cf2b40ab113254ed8c1d5f6c35 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 30 Sep 2018 04:06:53 +0800 Subject: [PATCH] Improve error message --- ghcup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghcup b/ghcup index cd10749..0ebe4d7 100755 --- a/ghcup +++ b/ghcup @@ -388,7 +388,7 @@ install_ghc() { ) || { [ -e "${tmp_dir}/${download_tarball_name}" ] && rm "${tmp_dir}/${download_tarball_name}" [ -e "${tmp_dir}/ghc-${myghcver}" ] && rm -r "${tmp_dir}/ghc-${myghcver}" - die "Failed to install" + die "Failed to install, consider updating this script via: ${SCRIPT} self-update" } [ -e "${BIN_LOCATION}" ] || mkdir "${BIN_LOCATION}"