Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWrap shell scripts for safety #155
Conversation
Wrap the entirety of the install_salt and configure_salt shell scripts in a function to prevent problems if interrupted mid-download, as preparation to update the installation guide in the wiki to use these scripts via curl| sudo sh. Also make scripts portable and do a bit of cleanup.
|
The install instructions on the wiki don't pin the salt version, which will cause problems if run afresh, so this will allow reusing the install script from the repo for the install instructions to keep the versions in sync. (Right now, installing salt from homebrew on OS X will break everything as 2015.8.0 is bad, and 2015.8.1 isn't packaged in homebrew yet.) |
|
Question below, otherwise looks great. Reviewed 2 of 2 files at r1. .travis/configure_salt, line 5 [r1] (raw file): .travis/install_salt, line 5 [r1] (raw file): Comments from the review on Reviewable.io |
|
Unfortunately, raw |
|
@bors-servo r+ |
|
|
Wrap shell scripts for safety Wrap the entirety of the install_salt and configure_salt shell scripts in a function to prevent problems if interrupted mid-download, as preparation to update the installation guide in the wiki to use these scripts via curl | sudo sh. Also make scripts portable and do a bit of cleanup. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/155) <!-- Reviewable:end -->
|
|
|
Thanks for getting this merged! I updated the Linux installation instructions on the wiki, but I don't have a Mac and am not confident about updating the current Mac instructions to use the install script as well. Can I get some help with that, or can someone with more Mac experience update those instructions to be more in line with the Linux ones? |
aneeshusa commentedNov 5, 2015
Wrap the entirety of the install_salt and configure_salt shell scripts
in a function to prevent problems if interrupted mid-download, as
preparation to update the installation guide in the wiki to use these
scripts via curl | sudo sh.
Also make scripts portable and do a bit of cleanup.