aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-10-07 15:51:40 +0100
committerMike McQuaid2013-10-10 16:46:48 +0100
commitabd441c9bd0dd968a87872def84e8a345c93638a (patch)
tree6054506394ce062cd91101893c88daa1c1fce07f /Library
parent7b0114b8aedfff4275b6a75a389489a84d5b5891 (diff)
downloadhomebrew-abd441c9bd0dd968a87872def84e8a345c93638a.tar.bz2
logrotate: use new etc.install overwrite handling.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/logrotate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/logrotate.rb b/Library/Formula/logrotate.rb
index f70e21c9a..3714b2261 100644
--- a/Library/Formula/logrotate.rb
+++ b/Library/Formula/logrotate.rb
@@ -30,7 +30,7 @@ class Logrotate < Formula
s.gsub! "/etc/logrotate.d", "#{etc}/logrotate.d"
end
- etc.install 'logrotate.conf' unless (etc/'logrotate.conf').exist?
+ etc.install 'logrotate.conf'
(etc/'logrotate.d').mkpath
end