Created
July 17, 2015 09:13
-
-
Save erivello/537c5ccd98b9b0c4640c to your computer and use it in GitHub Desktop.
Fetch drupal's enabled modules and enable these
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
enabled_modules=`cat enabled_modules.txt` | |
drush en $enabled_modules -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
drush pm-list --type=Module --no-core --status=enabled | cut -d "(" -f2 | cut -d ")" -f1 | sed '1d' > enabled_modules.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment