Fix for ordering problem during package removal resulting dangling symlinks, partially fixes #1675
parent
c54de4b72f
commit
42346ad837
|
@ -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')) {
|
||||||
|
|
Loading…
Reference in New Issue