I am probably missing something obvious here, but when I use profiler (along with drush make of course), all of my downloaded modules and themes end up in subdirectories under the actual profile name, which is as expected.

What I also want to do, however, is to put selected themes and modules into the /sites/all/themes and /sites/all/modules directories respectively.

Here's a sanitised snippet from my profile's makefile:

projects[mytheme][type] = theme
projects[mytheme][download][type] = get
projects[mytheme][destination] = "sites/all/themes"
projects[mytheme[download][url] = ... whatever...

But this is not working as I would have expected it to... the downloaded theme is still ending up in /profiles/profilename/themes/mytheme

Am I using this wrong?

Comments

q0rban’s picture

Project: Profiler » Drush
Version: 7.x-2.0-beta1 »
Component: User interface » Make

Moving to Drush.

q0rban’s picture

Also, you're missing a closing square bracket on mytheme on the last line.

joestewart’s picture

One option is to download the modules for sites/all in a "distro" make that also downloads the profile instead of putting them in the profile makefile.

It is possible the drush maintainers will reconsider #913148: Please bring back install_path

petey318’s picture

Status: Active » Closed (works as designed)