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

run commands as sudo

This commit is contained in:
Taylor Otwell
2016-05-11 19:40:44 -05:00
parent e0003c6176
commit fd595b5c71
7 changed files with 55 additions and 28 deletions

View File

@@ -128,7 +128,7 @@ function createDomainResolver($domain)
*/
function updateDomain($oldDomain, $newDomain)
{
$this->cli->quietly('rm '.$this->resolverPath.'/'.$oldDomain);
$this->files->unlink($this->resolverPath.'/'.$oldDomain);
$this->install($newDomain);
}