Hello,

Should in commands/pm/download.pm.inc the function _pm_download_destination not also create a modules en themes directory (next to files)?

Because if I do first

si install --sites-subdir=example

then a dir sites/example is created, but it is not user writable, which I understand. If I then do

-l http://example dl devel --use-site-dir

or

dl devel --destination=sites/example/modules

then I get an error that the modules directory could not be created, and devel will be in sites/all/modules.

Thanks,

Eric J.

Comments

ericjvandervelden’s picture

Status: Active » Needs review
ericjvandervelden’s picture

Status: Needs review » Active
greg.1.anderson’s picture

Version: 7.x-5.7 » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.