1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 08:40:09 +01:00

correcting a few script problems

This commit is contained in:
Taylor Otwell
2016-05-10 13:26:39 -05:00
parent 97f7ae2342
commit f0556ce554
5 changed files with 67 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ function isDir($path)
*/
function mkdir($path, $owner = null, $mode = 0755)
{
mkdir($path, $mode);
mkdir($path, $mode, true);
if ($owner) {
$this->chown($path, $owner);

View File

@@ -39,6 +39,8 @@ function install()
$this->brew->ensureInstalled('php70', $this->taps);
}
$this->files->ensureDirExists('/usr/local/var/log', user());
$this->updateConfiguration();
$this->restart();