From 78fdda8b271a797dba5d58bbc1c65b125d464ac1 Mon Sep 17 00:00:00 2001 From: Patrick O'Brien Date: Sun, 4 Jun 2017 13:09:56 -0700 Subject: [PATCH] davmail: forcing java to run headless Closes #14240. Signed-off-by: Alex Dunn --- Formula/davmail.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/davmail.rb b/Formula/davmail.rb index a6982625fcb..80952deb0e4 100644 --- a/Formula/davmail.rb +++ b/Formula/davmail.rb @@ -3,12 +3,13 @@ class Davmail < Formula homepage "https://davmail.sourceforge.io/" url "https://downloads.sourceforge.net/project/davmail/davmail/4.8.0/davmail-4.8.0-2479.zip" sha256 "5cd0dceadffa958c72be299ee2edc0ec945eaf2f66cbab3e93e20cd24408fbbf" + revision 1 bottle :unneeded def install libexec.install Dir["*"] - bin.write_jar_script libexec/"davmail.jar", "davmail" + bin.write_jar_script libexec/"davmail.jar", "davmail", "-Djava.awt.headless=true" end plist_options :manual => "davmail"