gradle: use inline if.
Closes #7503. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
2748902229
commit
3f1e449711
1 changed files with 1 additions and 3 deletions
|
@ -12,9 +12,7 @@ class Gradle < Formula
|
|||
|
||||
def install
|
||||
libexec.install %w[bin lib]
|
||||
if build.with? "all"
|
||||
libexec.install %w[docs media samples src]
|
||||
end
|
||||
libexec.install %w[docs media samples src] if build.with? "all"
|
||||
bin.install_symlink libexec/"bin/gradle"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue