mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 15:00:58 +01:00
sendmail is in /usr/sbin/ on RHEL.
Summary: If we're going to hardcode a path, at least let's do it in a way that works on RHEL too. Test Plan: Successfully ran the setup script on RHEL. Reviewers: epriestley CC: Differential Revision: 623
This commit is contained in:
parent
1183f5cef7
commit
3164e4b521
1 changed files with 2 additions and 1 deletions
|
@ -348,7 +348,8 @@ class PhabricatorSetup {
|
|||
|
||||
$have_adapter = true;
|
||||
|
||||
if (!Filesystem::pathExists('/usr/bin/sendmail')) {
|
||||
if (!Filesystem::pathExists('/usr/bin/sendmail') &&
|
||||
!Filesystem::pathExists('/usr/sbin/sendmail')) {
|
||||
self::writeFailure();
|
||||
self::write(
|
||||
"Setup failure! You don't have a 'sendmail' binary on this system ".
|
||||
|
|
Loading…
Reference in a new issue