aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 11:34:29 -0800
committerAdam Vandenberg2012-02-12 20:08:56 -0800
commitb2e66ad45c73e6b12e17ba6a97dc4c5f5eb632e9 (patch)
tree85e23a1f09ef3d181e785b4b1661859fabdbf6f0 /Library/Formula
parent31332ffd06bf8cfc8773dda85af410631e792ae2 (diff)
downloadhomebrew-b2e66ad45c73e6b12e17ba6a97dc4c5f5eb632e9.tar.bz2
denyhosts: use install_symlink
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/denyhosts.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/denyhosts.rb b/Library/Formula/denyhosts.rb
index ad80f0e36..1579888b6 100644
--- a/Library/Formula/denyhosts.rb
+++ b/Library/Formula/denyhosts.rb
@@ -1,8 +1,8 @@
require 'formula'
class Denyhosts < Formula
- url 'http://downloads.sourceforge.net/project/denyhosts/denyhosts/2.6/DenyHosts-2.6.tar.gz'
homepage 'http://denyhosts.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/project/denyhosts/denyhosts/2.6/DenyHosts-2.6.tar.gz'
md5 'fc2365305a9402886a2b0173d1beb7df'
def patches
@@ -35,13 +35,11 @@ class Denyhosts < Formula
"--install-data=#{libexec}"
libexec.install 'daemon-control'
- # Don't overwrite the config file if it exists---the user may have tweaked
- # it.
+ # Don't overwrite the config file; the user may have tweaked it.
etc.install 'denyhosts.cfg' unless (etc + 'denyhosts.cfg').exist?
- sbin.mkpath
- ln_s libexec + 'denyhosts.py', sbin + 'denyhosts'
- ln_s libexec + 'daemon-control', sbin + 'daemon-control'
+ sbin.install_symlink libexec+'daemon-control'
+ sbin.install_symlink libexec+'denyhosts.py' => 'denyhosts'
plist_path.write cron_plist
plist_path.chmod 0644