Fix status message
Should only appear when we have actually removed GHC.
This commit is contained in:
parent
41199b5ebd
commit
ce314365dd
6
ghcup
6
ghcup
@ -706,13 +706,13 @@ rm_ghc() {
|
|||||||
edo rm "${f}"
|
edo rm "${f}"
|
||||||
done
|
done
|
||||||
edo rm -r "${inst_location}"
|
edo rm -r "${inst_location}"
|
||||||
else
|
|
||||||
warning_message "${myghcver} doesn't appear to be installed, skipping"
|
|
||||||
fi
|
|
||||||
|
|
||||||
status_message "Successfully removed GHC ${myghcver}, you might have to"
|
status_message "Successfully removed GHC ${myghcver}, you might have to"
|
||||||
status_message "set the currently active GHC now to fix dangling symlinks:"
|
status_message "set the currently active GHC now to fix dangling symlinks:"
|
||||||
status_message " ghcup set <ghcver>"
|
status_message " ghcup set <ghcver>"
|
||||||
|
else
|
||||||
|
warning_message "${myghcver} doesn't appear to be installed, skipping"
|
||||||
|
fi
|
||||||
|
|
||||||
unset myghcver inst_location f
|
unset myghcver inst_location f
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user