unbound: fix rubocop 0.65.0 style.
This commit is contained in:
parent
5d8c09bc94
commit
55ee736a4f
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ class Unbound < Formula
|
|||
conf = etc/"unbound/unbound.conf"
|
||||
return unless conf.exist?
|
||||
return unless conf.read.include?('username: "@@HOMEBREW-UNBOUND-USER@@"')
|
||||
|
||||
inreplace conf, 'username: "@@HOMEBREW-UNBOUND-USER@@"',
|
||||
"username: \"#{ENV["USER"]}\""
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue