Make sure the target-dir exists
parent
381fcb248a
commit
54cf9aeb46
|
@ -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