@@ -165,6 +165,9 @@ |
||
165 | 165 | self::runCommand('chmod +a "$USER allow delete,write,append,file_inherit,directory_inherit" %path%', $path); |
166 | 166 | } |
167 | 167 | |
168 | + /** |
|
169 | + * @param string $command |
|
170 | + */ |
|
168 | 171 | public static function runCommand($command, $path) { |
169 | 172 | return self::runProcess(str_replace(['%httpduser%', '%path%'], [self::getHttpdUser(), $path], $command)); |
170 | 173 | } |
@@ -17,9 +17,9 @@ |
||
17 | 17 | use Composer\Composer; |
18 | 18 | use Composer\EventDispatcher\EventSubscriberInterface; |
19 | 19 | use Composer\IO\IOInterface; |
20 | -use Composer\Plugin\PluginInterface; |
|
21 | 20 | use Composer\Plugin\Capable; |
22 | 21 | use Composer\Plugin\PluginEvents; |
22 | +use Composer\Plugin\PluginInterface; |
|
23 | 23 | use Composer\Plugin\PreFileDownloadEvent; |
24 | 24 | use Composer\Script\Event; |
25 | 25 |