Commit 38ad53e9 authored by anarcat's avatar anarcat
Browse files

more debugging

parent 3394ffd9
...@@ -57,8 +57,9 @@ case "$1" in ...@@ -57,8 +57,9 @@ case "$1" in
echo "upgrading the frontend from $drupal_root to $NEW_PLATFORM" echo "upgrading the frontend from $drupal_root to $NEW_PLATFORM"
cd "$drupal_root" cd "$drupal_root"
su -s /bin/sh aegir -c "drush hostmaster-migrate $FLAGS '$site_uri' '$NEW_PLATFORM'" su -s /bin/sh aegir -c "drush hostmaster-migrate $FLAGS '$site_uri' '$NEW_PLATFORM'"
echo "upgrade finished"
cd $HOME cd $HOME
sites=`ls "$drupal_root/sites" | egrep -v '^all|default$'` sites=`ls "$drupal_root/sites" | egrep -v '^all|default$' || true`
if [ -z "$sites" ]; then if [ -z "$sites" ]; then
echo "backing up old platform to $HOME/backups/$drupal_root.tgz" echo "backing up old platform to $HOME/backups/$drupal_root.tgz"
tar -c -z -f "$HOME/backups/$drupal_root.tgz" "$drupal_root" tar -c -z -f "$HOME/backups/$drupal_root.tgz" "$drupal_root"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment