Added support for RHEL and did some syntax cleaning
Assume that "RedHat" also works where "CentOS" does.
This commit is contained in:
parent
e9aae1dcf6
commit
24ecb51f6f
63 changed files with 544 additions and 497 deletions
|
@ -15,7 +15,7 @@ divert(-1)
|
|||
#
|
||||
|
||||
divert(0)dnl
|
||||
<% if ['CentOS','Fedora'].index(operatingsystem) -%>
|
||||
<% if ['CentOS','RedHat','Fedora'].index(operatingsystem) -%>
|
||||
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
|
||||
<% elsif operatingsystem == 'Ubuntu' -%>
|
||||
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
|
||||
|
@ -31,7 +31,7 @@ define(`confDIRECT_SUBMISSION_MODIFIERS',`C')dnl
|
|||
<% if has_variable?('mail_domain') -%>
|
||||
define(`confDOMAIN_NAME', `<%= mail_domain %>')dnl
|
||||
<% end -%>
|
||||
<% if ['CentOS','Fedora'].index(operatingsystem) -%>
|
||||
<% if ['CentOS','RedHat','Fedora'].index(operatingsystem) -%>
|
||||
define(`confPID_FILE', `/var/run/sm-client.pid')dnl
|
||||
<% end -%>
|
||||
FEATURE(`use_ct_file')dnl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue