mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
Fix for issue #250 - brew package nginx-full not properly recognized as a valid nginx installation
This commit is contained in:
@@ -45,6 +45,17 @@ function hasInstalledPhp()
|
||||
|| $this->installed('php56');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if a compatible nginx version is Homebrewed.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function hasInstalledNginx()
|
||||
{
|
||||
return $this->installed('nginx')
|
||||
|| $this->installed('nginx-full');
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure that the given formula is installed.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user