2 Mar
2009
2 Mar
'09
8:23 p.m.
Nabil Alsharif wrote:
I tried it on a D6 multi-site setup when it didn't work.
Here's the script I use for CLI updates on a D6 multi-site installation http://ninjitsuweb.com/files/drupal-update.sh.txt I think I got it from an Acquia blog post? Can't remember how much I tweaked it, if at all. To update all the sites at once, I call it from inside another script that basically looks like this: for f in `ls drupal-root/sites/` do echo "Updating: $f" php -d memory_limit=96M -f drupal-update.sh -- -s $f -r drupal-root/ -m -u & wait done To do a dry-run to check if updates are needed, replace `-m -u` with `-l -d`. Best, Matt