Remove link to share on ghcup rm

When the currently set ghc is removed, the ~/.ghcup/share symlink
is now cleaned up like the rest.
This commit is contained in:
Jan Felix Langenbach 2019-12-03 22:51:56 +01:00
parent dc14846276
commit bf4c5a5cf1

2
ghcup
View File

@ -1657,6 +1657,8 @@ rm_ghc() {
fi
done
unset t known_tools
# remove share directory
edo rm "${BIN_LOCATION}/../share"
warning_message "Done."
warning_message "You may now want to set currently active GHC to a different version via:"