install dependencies if not installed

This commit is contained in:
Mylloon 2021-11-14 20:18:08 +01:00
parent 182840d13d
commit 3bd65df8f0

View file

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