-
Notifications
You must be signed in to change notification settings - Fork 171
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
Various improvements to install.sh #109
Conversation
Thiht
commented
Mar 17, 2018
- Fix Shellcheck warnings
- Ask for permission to writ /usr/local/bin
- Fix some issues from jpillora/installer
- Retrieve latest version
Thank you for this contribution! @ilikebits can you review? |
install.sh
Outdated
msg=$1 | ||
echo "============" | ||
echo "Error: $msg" 1>&2 | ||
exit 1 | ||
} | ||
|
||
# This function will ask for root privileges before executing a command | ||
# The goal is to allow the used to run this script as a normal user and | ||
# to ash authorizations as needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor corrections:
- "allow the used to run" --> "allow the user to run"
- "to ash authorizations as needed" --> "to be asked for authorizations as needed"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in b67280f :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for this!
Merging with admin override:
|
…ssas/fossa-cli into feat/support-gradle-root-deps * 'feat/support-gradle-root-deps' of https://github.com/fossas/fossa-cli: chore: Add TODOs, ignore third_party in autoconfig Various improvements to install.sh (#109)