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:
parent
dc14846276
commit
bf4c5a5cf1
2
ghcup
2
ghcup
@ -1657,6 +1657,8 @@ rm_ghc() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
unset t known_tools
|
unset t known_tools
|
||||||
|
# remove share directory
|
||||||
|
edo rm "${BIN_LOCATION}/../share"
|
||||||
|
|
||||||
warning_message "Done."
|
warning_message "Done."
|
||||||
warning_message "You may now want to set currently active GHC to a different version via:"
|
warning_message "You may now want to set currently active GHC to a different version via:"
|
||||||
|
Loading…
Reference in New Issue
Block a user