Merge pull request #153 from webfactory/fix_target_dir_exists

Make sure the target-dir exists
main
Jordi Boggiano 13 years ago
commit 0767cdca14

@ -134,6 +134,9 @@ class DownloadManager
);
}
$fs = new Util\Filesystem();
$fs->ensureDirectoryExists($targetDir);
$downloader = $this->getDownloaderForInstalledPackage($package);
$downloader->download($package, $targetDir);
}

Loading…
Cancel
Save