Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Dec 30, 2018
1 parent cb717b9 commit 4a7d5f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookbooks/jdk/recipes/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function install()
{
initializeFolder "$(getCurrentUserHomeFolder)/Library/Caches/Homebrew"

sudo rm -f -r /Library/Java/JavaVirtualMachines/openjdk-*.jdk
sudo rm -f -r '/Library/Java/JavaVirtualMachines'/openjdk-*.jdk

if [[ "$(existCommand 'java')" = 'true' ]]
then
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/jdk/recipes/uninstall.bash
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function uninstall()
if [[ "$(existCommand 'brew')" = 'true' ]]
then
brew cask uninstall "${JDK_VERSION}" || true
sudo rm -f -r /Library/Java/JavaVirtualMachines/openjdk-*.jdk
sudo rm -f -r '/Library/Java/JavaVirtualMachines'/openjdk-*.jdk
fi
}

Expand Down

0 comments on commit 4a7d5f3

Please sign in to comment.