Merge pull request #1054 from mheleniak/clean_up_bat_files
Clean up *.bat files when binary is removedpull/1018/merge
commit
e0dc045955
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue