mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 09:43:04 -05:00
Merge pull request #402 from kdabir/patch-1
check for `bin` dir inside SDKMAN_DIR to check previous installation
This commit is contained in:
@@ -110,7 +110,7 @@ echo '
|
||||
# Sanity checks
|
||||
|
||||
echo "Looking for a previous installation of SDKMAN..."
|
||||
if [ -d "$SDKMAN_DIR" ]; then
|
||||
if [ -d "$sdkman_bin_folder" ]; then
|
||||
echo "SDKMAN found."
|
||||
echo ""
|
||||
echo "======================================================================================================"
|
||||
|
||||
Reference in New Issue
Block a user