Fix status message

Should only appear when we have actually removed GHC.
This commit is contained in:
Julian Ospald 2018-09-30 14:41:18 +08:00
parent 41199b5ebd
commit ce314365dd
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 4 additions and 4 deletions

8
ghcup
View File

@ -706,14 +706,14 @@ rm_ghc() {
edo rm "${f}"
done
edo rm -r "${inst_location}"
status_message "Successfully removed GHC ${myghcver}, you might have to"
status_message "set the currently active GHC now to fix dangling symlinks:"
status_message " ghcup set <ghcver>"
else
warning_message "${myghcver} doesn't appear to be installed, skipping"
fi
status_message "Successfully removed GHC ${myghcver}, you might have to"
status_message "set the currently active GHC now to fix dangling symlinks:"
status_message " ghcup set <ghcver>"
unset myghcver inst_location f
}