4

I would like to have the profile install the modules I list in my profile .make to sites/all/modules/contrib instead of in the profile directory profiles/my_sweet_profile/modules/contrib is there any way to do this without having to use a script to copy the modules, and then rebuilding the drupal registry?

I have read this DA post, but the answers contained pertain to the more canonized distribution profiles (OpenAtrium). I am not going to be rerunning this installation profile on the same site, so there is no need for me to preserve the initial structure.

Thanks!

1 Answer 1

1

You can get an example in Videola profile: https://github.com/Videola/videola/blob/master/videola_starter.make - main make file which downloads only profile from github.

Then see main make file with all the modules: https://github.com/Videola/videola/blob/master/videola.make which shows you an example of what you want to do.

projects[admin][subdir] = "contrib"
1
  • This path is relative to the install profile, so it still installs modules in /profiles/my_profile/modules/contrib. What I am looking for is a way to install the modules in sites/all/modules Jun 7, 2013 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.