diff --git a/setup/check_install.php b/setup/check_install.php index 9c610fcfd7..8b0194cf08 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -678,7 +678,12 @@ function tnef_check($name,$args) $available = false; $tnef = array(); - if (exec("which tnef", $tnef)) + if (file_exists('/usr/bin/tnef')) + { + $available = true; + $tnef[] = '/usr/bin/tnef'; + } + elseif (exec("which tnef", $tnef)) { $available = true; }