Commit 780c1bdd authored by helmo's avatar helmo

Prepare the upgrade.sh script for 7.x-3.x

parent 8c9a13ed
......@@ -13,7 +13,7 @@ msg() {
}
# basic variables, change before running
AEGIR_VERSION="6.x-2.x"
AEGIR_VERSION="7.x-3.x"
DRUSH_DIR=$HOME/drush
DRUSH=$DRUSH_DIR/drush.php
if which drush 2> /dev/null > /dev/null && which drush | grep -v 'no drush in' > /dev/null; then
......@@ -157,7 +157,7 @@ if [ -d "provision" ] ; then
mv provision $BACKUP_DIR
fi
if [ "$AEGIR_VERSION" = "6.x-2.x" ]; then
if [ "$AEGIR_VERSION" = "7.x-3.x" ]; then
git clone --branch "$AEGIR_VERSION" http://git.drupal.org/project/provision.git $HOME/.drush/provision
else
wget http://ftp.drupal.org/files/projects/provision-$AEGIR_VERSION.tar.gz
......
Markdown is supported
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