diff options
Diffstat (limited to 'homebrew/unbound/.make.sh-auto')
-rw-r--r-- | homebrew/unbound/.make.sh-auto | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/unbound/.make.sh-auto b/homebrew/unbound/.make.sh-auto new file mode 100644 index 000000000..82080eb52 --- /dev/null +++ b/homebrew/unbound/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +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"]}\"" |