? drush_enable_hook_requirement_error.patch
? drushrc.php
? nbproject
? includes/table.inc
Index: commands/pm/pm.drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/pm.drush.inc,v
retrieving revision 1.53
diff -w -u -p -r1.53 pm.drush.inc
--- commands/pm/pm.drush.inc	1 Oct 2009 14:13:28 -0000	1.53
+++ commands/pm/pm.drush.inc	1 Oct 2009 16:54:59 -0000
@@ -260,7 +260,14 @@ function pm_module_manage($modules = arr
       // We install/enable modules explicitly here, to pass dependency validation in form submit.
       $install_modules = array();
       $enable_modules = array();
-      foreach ($modules as $module) {
+      foreach ($modules as $key => $module) {
+        // Check to see if the module can be installed/enabled (hook_requirements)
+        // See @system_modules_submit
+        if (!drupal_check_module($module)) {
+          unset($modules[$key]);
+          continue;
+        }
+        
         // In Drupal 5, drupal_install_modules() only installs new modules,
         // and does not enable previously installed and disabled modules.
         if (drupal_get_installed_schema_version($module) == SCHEMA_UNINSTALLED) {
