diff options
author | Mark Longair <mhl@pobox.com> | 2013-12-17 13:59:43 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-12-17 13:59:43 +0000 |
commit | 4b8ebcf56df64e6b157c74e1e611c7bc25701c33 (patch) | |
tree | 5a65007a9d30392eb64a4966479b0fef9a7f5bb4 /script/site-specific-install.sh | |
parent | 6ed86a779aeb2a52c6ca8a82e62abb0a73fc6668 (diff) | |
parent | 48edbae1b354cca43ef5b0df2c43c38395fae357 (diff) |
Merge branch 'feature/install-script-rewrite-hostname' into rails-3-develop
Diffstat (limited to 'script/site-specific-install.sh')
-rwxr-xr-x | script/site-specific-install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/site-specific-install.sh b/script/site-specific-install.sh index 8917fd577..7d47a5990 100755 --- a/script/site-specific-install.sh +++ b/script/site-specific-install.sh @@ -66,6 +66,11 @@ ensure_line_present \ /etc/postfix/main.cf 644 ensure_line_present \ + "^ *myhostname *=" \ + "myhostname = $(hostname --fqdn)" \ + /etc/postfix/main.cf 644 + +ensure_line_present \ "^do-not-reply" \ "do-not-reply-to-this-address: :blackhole:" \ /etc/aliases 644 |