mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 16:50:09 +01:00
Fix for issue #250 - brew package nginx-full not properly recognized as a valid nginx installation
This commit is contained in:
@@ -37,7 +37,9 @@ function __construct(Brew $brew, CommandLine $cli, Filesystem $files,
|
||||
*/
|
||||
function install()
|
||||
{
|
||||
$this->brew->ensureInstalled('nginx', ['--with-http2']);
|
||||
if (!$this->brew->hasInstalledNginx()) {
|
||||
$this->brew->installOrFail('nginx', ['--with-http2']);
|
||||
}
|
||||
|
||||
$this->installConfiguration();
|
||||
$this->installServer();
|
||||
|
||||
Reference in New Issue
Block a user