From abd441c9bd0dd968a87872def84e8a345c93638a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 7 Oct 2013 15:51:40 +0100 Subject: logrotate: use new etc.install overwrite handling. --- Library/Formula/logrotate.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3