Closed (won't fix)
Project:
Drush Make
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Dec 2009 at 01:23 UTC
Updated:
4 Dec 2009 at 06:57 UTC
I need to change the default configuration of the distro, like changing $conf['maintenance_theme'] to use a custom theme at install..
is it possible to replace the Drupal's default.settings.php file (or any other file) in the created package?
I should probably use a patch file, right? But how do I do that on d.o? should I commit the patch into cvs? yes, probably..
ok, if I answered my question correctly, then it should be added to the documentation..
Comments
Comment #1
dmitrig01 commentedfor d.o, I'm not sure this is possible and I doubt the maintainers would want it. What if someone downloaded core + your profile but ended up wanting to insatll default? they'd be stuck with your theme.
Comment #2
SirMarco commentedIf I understand you correctly...
You could use a patch to change settings during site installation.
Here's what I did:
1. created 2 folders: drupal and drupal-mod
2. made settings changes in drupal-mod
3. run diff -Naur drupal drupal-mod > settings.patch, placed this patch to my webserver
4. then in .make file you specify: projects[drupal][patch][] = "url to patch file"
After drush_make pulls drupal core it will apply your patch.
Comment #3
pasqualle@SirMarco: yes, but not on d.o. The drush make on d.o will not download the patch from your webserver..
@dmitrig01: If you download a distro, then you should see the theme of the distro even if you want to install the default profile.. And on another note, I would like to fully disable the default Drupal profiles, as they are not useful to me, and then this problem would not even exist. Probably with a new core issue, or if its too late, then with other distro patch..
Comment #4
dmitrig01 commentedYeah, I don't think this would work at all. You can just tell the users to set it manually.