Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify default install directory behaviour #1912

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

aknoerig
Copy link
Contributor

The install script seems to suggest /usr/local/bin as the default install directory. However, pressing RETURN will actually set the install dir to an empty string. The error message is not helpful as it then reads The directory does not exist. (note the additional space).

This fix makes the script behave as expected: pressing RETURN accepts the default suggestion.
(Also factors out the directory selection into a function.)

The install script seems to suggest `/usr/local/bin` as the default install directory. However, pressing `RETURN` will actually set the install dir to an empty string. The error message is not helpful as it then reads `The directory  does not exist.` (note the additional space).

This fix makes the script behave as expected: pressing `RETURN` accepts the default suggestion.

Signed-off-by: André Knörig <[email protected]>
@erbridge erbridge requested a review from a team August 28, 2024 13:31
@aknoerig
Copy link
Contributor Author

Addresses issue #1914

@cpietsch
Copy link

cpietsch commented Sep 8, 2024

ran into the same issue - was also expecting the default/placeholder to be on RETURN

Copy link
Contributor

@mattt mattt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much, @aknoerig!

@mattt mattt merged commit 26093c0 into replicate:main Sep 9, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants