install dependencies if not installed
This commit is contained in:
parent
182840d13d
commit
3bd65df8f0
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
# Install SDKMAN
|
||||
which curl &> /dev/null || sudo apt update && sudo apt install curl # Install curl if not already installed
|
||||
# Install dependencies
|
||||
sudo apt update
|
||||
sudo apt install curl zip unzip sed -y # set probably installed but it doesn't cost anything to double-check
|
||||
curl -s "https://get.sdkman.io" | bash
|
||||
source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
|
||||
|
|
Reference in a new issue