Skip to content

install.sh: fall back to ~/.local/bin when sudo can't prompt#1

Open
NiveditJain wants to merge 1 commit into
mainfrom
fix-install-nontty
Open

install.sh: fall back to ~/.local/bin when sudo can't prompt#1
NiveditJain wants to merge 1 commit into
mainfrom
fix-install-nontty

Conversation

@NiveditJain

Copy link
Copy Markdown
Member

Only use sudo when a controlling terminal exists; otherwise install to ~/.local/bin so a non-interactive curl|sh (CI, no tty) doesn't fail on a sudo password prompt.

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.

1 participant