Commit 8989c537 authored by anarcat's avatar anarcat

switch to 2.x branches and version numbers

parent 57b40501
...@@ -6,4 +6,4 @@ projects[drupal][type] = "core" ...@@ -6,4 +6,4 @@ projects[drupal][type] = "core"
projects[hostmaster][type] = "profile" projects[hostmaster][type] = "profile"
projects[hostmaster][download][type] = "git" projects[hostmaster][download][type] = "git"
projects[hostmaster][download][url] = "http://git.drupal.org/project/hostmaster.git" projects[hostmaster][download][url] = "http://git.drupal.org/project/hostmaster.git"
projects[hostmaster][download][tag] = "6.x-1.0" projects[hostmaster][download][branch] = "7.x-2.x"
name=Provision name=Provision
description="Aegir backend" description="Aegir backend"
version=6.x-1.0 version=7.x-2.x
...@@ -15,7 +15,7 @@ msg() { ...@@ -15,7 +15,7 @@ msg() {
} }
# basic variables, change before running # basic variables, change before running
AEGIR_VERSION="6.x-1.0" AEGIR_VERSION="7.x-2.x"
DRUSH_DIR=$HOME/drush DRUSH_DIR=$HOME/drush
DRUSH=$DRUSH_DIR/drush.php DRUSH=$DRUSH_DIR/drush.php
if which drush 2> /dev/null > /dev/null && which drush | grep -v 'no drush in' > /dev/null; then if which drush 2> /dev/null > /dev/null && which drush | grep -v 'no drush in' > /dev/null; then
...@@ -147,7 +147,7 @@ if [ -d "provision" ] ; then ...@@ -147,7 +147,7 @@ if [ -d "provision" ] ; then
mv provision $BACKUP_DIR mv provision $BACKUP_DIR
fi fi
if [ "$AEGIR_VERSION" = "6.x-1.x" ]; then if [ "$AEGIR_VERSION" = "7.x-2.x" ]; then
git clone http://git.drupal.org/project/provision.git $HOME/.drush/provision git clone http://git.drupal.org/project/provision.git $HOME/.drush/provision
else else
wget http://ftp.drupal.org/files/projects/provision-$AEGIR_VERSION.tar.gz 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