diff --git a/Formula/unbound.rb b/Formula/unbound.rb index 486ed8ff64..c243480778 100644 --- a/Formula/unbound.rb +++ b/Formula/unbound.rb @@ -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