13 lines
434 B
Bash
13 lines
434 B
Bash
#!/usr/bin/env bash
|
|
|
|
{{ includeTemplate "universal/profile" }}
|
|
{{ includeTemplate "universal/logg" }}
|
|
|
|
### Ensure SDKMan is installed (https://sdkman.io/)
|
|
if [ ! -d "$SDKMAN_DIR" ]; then
|
|
logg info 'Installing SDKMan via `curl -s "https://get.sdkman.io?rcupdate=false`'
|
|
logg info "Install directory: $SDKMAN_DIR"
|
|
curl -s "https://get.sdkman.io?rcupdate=false" | bash
|
|
else
|
|
logg info 'SDKMan appears to already be installed.'
|
|
fi
|