I've discovered that modules that check their library's presence in hook_requirements() using libraries_get_path() will cause installation to fail if they're added to an install profile's hook_profile_modules().

Is there any way round this?

(The issue on the module in question is #1506474: less module in an install profile.)

Comments

sun’s picture

tstoeckler’s picture

Yeah, I think between #1148246: Implement hook_requirements() to list libraries and #1215376: Autoload and populate drupal_get_filename() with libraries.module during Drupal installation there's not much actionable here.

Marking fixed, as the support request itself I guess is fixed, even though the underlying problem maybe is not.

Status: Fixed » Closed (fixed)

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