rm vcs repo target dir before install

main
Ken Marfilla 12 years ago
parent 5b42f99441
commit 3e6c8caae7

@ -51,6 +51,7 @@ abstract class VcsDownloader implements DownloaderInterface
}
$this->io->write(" - Package <info>" . $package->getName() . "</info> (<comment>" . $package->getPrettyVersion() . "</comment>)");
$this->filesystem->removeDirectory($path);
$this->doDownload($package, $path);
$this->io->write('');
}

Loading…
Cancel
Save