Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Use single block conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Oli Dagenais committed Mar 21, 2016
1 parent 17929d6 commit 346d83d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Library/Formula/git-credential-manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ class GitCredentialManager < Formula

bottle :unneeded

depends_on :java => "1.8+" if MacOS.version >= :el_capitan
depends_on :java => "1.7+" unless MacOS.version >= :el_capitan
if MacOS.version >= :el_capitan
depends_on :java => "1.8+"
else
depends_on :java => "1.7+"
end

def install
libexec.install "git-credential-manager-#{version}.jar"
Expand Down

0 comments on commit 346d83d

Please sign in to comment.