-
Notifications
You must be signed in to change notification settings - Fork 8
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
adds an install script for aescrypt Rust #8
Conversation
@baptistecolin The install script should work as follows:
|
…e agrees to install Rust before doing so
Here you go, now it should only install Rust and/or Aescrypt if they are not already installed. Then it should carry on with the rest of the installation, making Abrute ready to be used. Let me now if you had something else in mind |
It looks really good so far! Thanks… two more things. For And lastly the last step only works if a person is in the current project directory with all of the source files. So if they wanted to install it like Rust is installed with So for the |
Here you go, I tried it on my machine and launching |
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.
Line 33 looks to be an uncommented comment which as far as I know won't work in a shell script
install.sh
Outdated
echo "Aescrypt already installed" | ||
else | ||
echo "Installing Aescrypt" | ||
User agreed, proceed with installation |
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.
Should this be a comment here?
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.
Absolutely
Excellent work @baptistecolin ! 🎉 |
In this particular case, the expression is between brackets : |
Got it. Thanks for letting me know. |
Adds an
install.sh
shell script which retrieves aescrypt and Rust.If the script is hosted at
www.myadress.com/path
, then it can be executed by firing the following command :curl www.myadress.com/path | sh
Should the script also execute
cargo build --release
sudo cp target/release/abrute /usr/bin/
?