1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +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:
Ricky Elrod 2011-07-08 20:58:18 -04:00
parent 1183f5cef7
commit 3164e4b521

View file

@ -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 ".