Make sure the target-dir exists

main
Matthias Pigulla 13 years ago
parent 381fcb248a
commit 54cf9aeb46

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

Loading…
Cancel
Save