From 54b8831131a91acfa5b5fa401db56619be45cebb Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Wed, 5 Feb 2014 18:37:57 +0100 Subject: [PATCH] Revert "correct small bug, source files aren't installed and removed from the same path (problem with targetDir package attribute)" This reverts commit 79a4c5cac10b0f96913c99513de12376860a86fe. --- src/Composer/Installer/LibraryInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer/LibraryInstaller.php b/src/Composer/Installer/LibraryInstaller.php index 39dcd860e..b1677cec2 100644 --- a/src/Composer/Installer/LibraryInstaller.php +++ b/src/Composer/Installer/LibraryInstaller.php @@ -178,7 +178,7 @@ class LibraryInstaller implements InstallerInterface protected function removeCode(PackageInterface $package) { - $downloadPath = $this->getInstallPath($package); + $downloadPath = $this->getPackageBasePath($package); $this->downloadManager->remove($package, $downloadPath); }