sdkman / sdkman-hooks

An API responsible for serving up pre- and post- hooks
Other
5 stars 23 forks source link

Existing Installation Detection Enhancements #54

Open rgajason opened 2 years ago

rgajason commented 2 years ago

fixes #53

rgajason commented 2 years ago

Note that -A is not part of POSIX ls. I am unable to test these changes outside of macOS and Linux.

rgajason commented 2 years ago

Hesitation is understood. If you have ideas about a different method I could take to help provide some code to address this situation I'm happy to make changes. Perhaps we could introduce some sort of "force" flag for the installer that defaults to "no" that would instruct the installer to go ahead and keep going even if the install directory already exists.