From 499914a8eafe0582620de4612bcbd07acffc3d37 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 9 Jan 2020 13:45:26 +0100 Subject: [PATCH] Revert "Merge remote-tracking branch 'origin/merge-requestes/129'" This reverts commit dbf76bd8beb46e8e66a72394cb27c13c691cfa88, reversing changes made to 64e3af02259c0ee5210886407b886b713cd20a75. --- ghcup | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ghcup b/ghcup index c76bfe2..94bfc81 100755 --- a/ghcup +++ b/ghcup @@ -1548,10 +1548,6 @@ set_ghc() { # shellcheck disable=SC2046 edo ln $(optionv "-v") -sf "haddock-ghc${target_suffix}" "${BIN_LOCATION}/haddock${target_suffix}" fi - if [ -z "${target_suffix}" ] && [ -d "${inst_location}/share" ] ; then - # shellcheck disable=SC2046 - edo ln $(optionv "-v") -sfT ghc/"${myghcver}"/share "${BIN_LOCATION}/../share" - fi status_message "Done" @@ -1665,10 +1661,6 @@ rm_ghc() { fi done unset t known_tools - # remove dangling symlink to share directory - if [ -h "${BIN_LOCATION}/../share" ] && [ ! -e "${BIN_LOCATION}/../share" ] ; then - edo rm "${BIN_LOCATION}/../share" - fi warning_message "Done." warning_message "You may now want to set currently active GHC to a different version via:"