1
0
Fork 0

also clean up *.bat files

pull/1054/head
Mateusz Heleniak 2012-09-01 17:43:16 +02:00
parent a04591bbd7
commit 924d39f405
1 changed files with 5 additions and 3 deletions

View File

@ -226,11 +226,13 @@ class LibraryInstaller implements InstallerInterface
} }
foreach ($binaries as $bin) { foreach ($binaries as $bin) {
$link = $this->binDir.'/'.basename($bin); $link = $this->binDir.'/'.basename($bin);
if (!file_exists($link)) { if (file_exists($link)) {
continue;
}
unlink($link); unlink($link);
} }
if (file_exists($link.'.bat')) {
unlink($link.'.bat');
}
}
} }
protected function initializeVendorDir() protected function initializeVendorDir()