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

Various improvements to install.sh #109

Merged
merged 7 commits into from
Mar 20, 2018
Merged

Various improvements to install.sh #109

merged 7 commits into from
Mar 20, 2018

Conversation

Thiht
Copy link
Contributor

@Thiht 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

@CLAassistant
Copy link

CLAassistant commented Mar 17, 2018

CLA assistant check
All committers have signed the CLA.

@xizhao
Copy link
Contributor

xizhao commented Mar 19, 2018

Thank you for this contribution! @ilikebits can you review?

@xizhao xizhao requested a review from elldritch March 19, 2018 16:57
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

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"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in b67280f :)

Copy link
Member

@elldritch elldritch left a 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!

@elldritch
Copy link
Member

Merging with admin override:

@elldritch elldritch merged commit ceac46e into fossas:master Mar 20, 2018
xizhao added a commit that referenced this pull request Mar 20, 2018
…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)
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.

None yet

5 participants