also clean up *.bat files
parent
a04591bbd7
commit
924d39f405
|
@ -226,10 +226,12 @@ 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);
|
||||||
|
}
|
||||||
|
if (file_exists($link.'.bat')) {
|
||||||
|
unlink($link.'.bat');
|
||||||
}
|
}
|
||||||
unlink($link);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue