Skip to content

Download script issues #3350

Closed
Closed

Description

@ekmett

When I use the download script obtained from https://haskell-lang.org/get-started it complains if there is already a system stack installed even if I go to use -d to manually pick a different location (e.g. a local install inside of another directory explicitly avoiding the global install)

/Users/edward/toy-project> ./download_stack.sh -d .
Stack Version 1.1.2 already appears to be installed at:
  /usr/local/bin/stack
Use 'stack upgrade' or your OS's package manager to upgrade,
or pass '-f' to this script to over-write the existing binary, e.g.:
  curl -sSL https://get.haskellstack.org/ | sh -s - -f

But note that the instructions for using -f seem to imply that writing it to this new location (not the same one as before) will over-write the other location? I'd expect that if I explicitly name a different download location and there isn't a file at that location that I shouldn't have to -f or that the error message would be less misleading when it isn't going to actually clobber something at the current target location.

This may belong against another repository. I didn't actually track down where the script was created.

Activity

  1. mgsloan commented on Aug 15, 2017

    @mgsloan
    Contributor

    Thanks for reporting, @ekmett ! Pinging @borsboom

  2. added this to the P1: Must milestone on Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions