1
0
Fork 0

Merge remote-tracking branch 'miklosm/iss1675.1'

pull/1681/head
Jordi Boggiano 2013-03-10 13:59:21 +01:00
commit c6bdf6ca11
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ 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 (is_link($link) || file_exists($link)) {
unlink($link); unlink($link);
} }
if (file_exists($link.'.bat')) { if (file_exists($link.'.bat')) {