Skip to content

Commit

Permalink
offlineimap: fix audit errors and plist issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
hvoigt authored and MikeMcQuaid committed May 12, 2016
1 parent c150ca6 commit c020fdc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Formula/offlineimap.rb
Expand Up @@ -24,15 +24,18 @@ def caveats; <<-EOS.undent
EOS
end

test do
system bin/"offlineimap", "--version"
end
plist_options :manual => "offlineimap"

def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:#{HOMEBREW_PREFIX}/bin</string>
</dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
Expand All @@ -53,4 +56,8 @@ def plist; <<-EOS.undent
</plist>
EOS
end

test do
system bin/"offlineimap", "--version"
end
end

0 comments on commit c020fdc

Please sign in to comment.