1
0
Fork 0

Make sure the target-dir exists

pull/153/head
Matthias Pigulla 2011-12-10 00:24:02 +01:00
parent 381fcb248a
commit 54cf9aeb46
1 changed files with 3 additions and 0 deletions

View File

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