From an installed Drupal instance, if you type drush dl then enter, drupal core will be downloaded to the sites/all/modules/(contrib) directory.

This creates issues with function names being redeclared and the paths in the system table being updated and causes other confusion.

Could the default for drush dl possibly point to the drush help dl page? or die with a usage error?

Comments

moshe weitzman’s picture

I thought we disallowed downloading drupal into a running drupal site. we should ... I don't think making the argument required helps the problem enough.

jonhattan’s picture

Version: 7.x-4.5 »
Status: Active » Fixed
jonhattan’s picture

Version: » All-versions-4.x-dev
Assigned: Unassigned » msonnabaum
Status: Fixed » Patch (to be ported)
msonnabaum’s picture

Status: Patch (to be ported) » Fixed

Backported.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.