aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 11:45:41 -0800
committerAdam Vandenberg2012-02-12 20:08:57 -0800
commitedf7ec45d0d37b98958d9fa653af385a6a7bfa7b (patch)
treebb6c1fed170ab5a5ee3f94fecd4146de9ce103c1 /Library/Formula
parent45775e79554f55f3863e3449b46ab5cb6fde2694 (diff)
downloadhomebrew-edf7ec45d0d37b98958d9fa653af385a6a7bfa7b.tar.bz2
getmail: use install_symlink
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/getmail.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/Library/Formula/getmail.rb b/Library/Formula/getmail.rb
index 844bbab0f..704ffd488 100644
--- a/Library/Formula/getmail.rb
+++ b/Library/Formula/getmail.rb
@@ -6,12 +6,9 @@ class Getmail < Formula
md5 'ec0be67bc1e472c13201c1e3a0c35e66'
def install
- libexec.install 'getmailcore'
- bin.mkpath
- %w[ getmail getmail_fetch getmail_maildir getmail_mbox ].each do |f|
- libexec.install f
- ln_s libexec+f, bin
- end
+ scripts = %w[ getmail getmail_fetch getmail_maildir getmail_mbox ]
+ libexec.install 'getmailcore', scripts
+ bin.install_symlink libexec.prefixing(scripts)
man1.install Dir['docs/*.1']
end
end