Merge pull request #153 from webfactory/fix_target_dir_exists
Make sure the target-dir existspull/154/merge
commit
0767cdca14
|
@ -134,6 +134,9 @@ class DownloadManager
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$fs = new Util\Filesystem();
|
||||||
|
$fs->ensureDirectoryExists($targetDir);
|
||||||
|
|
||||||
$downloader = $this->getDownloaderForInstalledPackage($package);
|
$downloader = $this->getDownloaderForInstalledPackage($package);
|
||||||
$downloader->download($package, $targetDir);
|
$downloader->download($package, $targetDir);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue