| @@ 151-155 (lines=5) @@ | ||
| 148 | } |
|
| 149 | } |
|
| 150 | } |
|
| 151 | if (PHP_OS == "Darwin") { |
|
| 152 | $this->processProvider->executeSudoCommand('find ' . $this->fileSystemProvider->getProjectDirectory($project["name"]) . '/ -type d -exec chmod o+rx {} "\;"'); |
|
| 153 | } else { |
|
| 154 | $this->processProvider->executeSudoCommand('find ' . $this->fileSystemProvider->getProjectDirectory($project["name"]) . '/ -type d -exec chmod o+rx {} \;'); |
|
| 155 | } |
|
| 156 | } |
|
| 157 | ||
| 158 | /** |
|
| @@ 60-64 (lines=5) @@ | ||
| 57 | } |
|
| 58 | } |
|
| 59 | ||
| 60 | if (PHP_OS == "Darwin") { |
|
| 61 | $this->processProvider->executeSudoCommand('find ' . $this->fileSystemProvider->getProjectDirectory($project["name"]) . '/data/current -type d -name .git -exec cd {} "\;" -exec git config core.filemode false "\;"'); |
|
| 62 | } else { |
|
| 63 | $this->processProvider->executeSudoCommand('find ' . $this->fileSystemProvider->getProjectDirectory($project["name"]) . '/data/current -type d -name .git -exec cd {} \; -exec git config core.filemode false \;'); |
|
| 64 | } |
|
| 65 | ||
| 66 | $this->dialogProvider->logConfig("Updating aliases webserver config file"); |
|
| 67 | $this->generateBasicAliases($project, $aliases); |
|