If you have registry_rebuild.drush.inc in your .drush folder and you also have registry_rebuild enabled as a module, you get:
PHP Fatal error: Cannot redeclare registry_rebuild_drush_help() (previously declared in /home/rfay/.drush/registry_rebuild.drush.inc:10) in /home/rfay/workspace/d7git/sites/all/modules/registry_rebuild/registry_rebuild.drush.inc on line 15
Is there a standard way to work around this kind of thing with drush? Seems like a normal problem.
One path forward is just to remove the .module file, which is there only to educate people.
Comments
Comment #1
rfayOK, I think we agree that removing the module and info files will make this easier for most people. drush dl registry_rebuild will now just "do the right thing"
Committed in http://drupalcode.org/project/registry_rebuild.git/commitdiff/e95197d
And I guess I'll make a new release to test it.. and update the project page. I did update the readme.
Comment #2
rfay