Don't trust ~/.ghcup/bin/ghcup when installing from https://get-ghcup.haskell.org
Expected: running the script from https://get-ghcup.haskell.org should install smoothly, regardless of whatever garbage might currently be in ~/.ghcup/bin/ghcup. (Related: #27 (closed))
Actual: running the script from https://get-ghcup.haskell.org defers to running ghcup upgrade
if ghcup
is present. Since the very reason I was installing from https://get-ghcup.haskell.org was because ghcup upgrade didn't work, such a situation was quite dissatisfactory.
Known workaround: just delete ~/.ghcup/bin/ghcup first, then https://get-ghcup.haskell.org will work as expected.