Skip to content
GitLab
Explore
Sign in
project
provision
Compare revisions
d4339f9f3d82d870ae90e4b2c28e823238ec8f8f to dev-migrate_aliases
Hide whitespace changes
Inline
Side-by-side
upgrade.sh.txt
View file @
2be63103
...
...
@@ -14,14 +14,14 @@
AEGIR_VERSION=HEAD
AEGIR_DOMAIN=aegir.example.com
AEGIR_
DIR=/var/aegir
DRUPAL_DIR=$AEGIR_
DIR
/hostmaster-$AEGIR_VERSION
AEGIR_
HOME="$HOME"
DRUPAL_DIR=$AEGIR_
HOME
/hostmaster-$AEGIR_VERSION
DRUSH_VERSION=6.x-3.3
DRUSH_MAKE_VERSION=6.x-2.0-beta
9
OLD_DRUPAL_DIR=$AEGIR_
DIR
/hostmaster-0.4-
alpha14
DRUSH_DIR=$AEGIR_
DIR
/drush
DRUSH_MAKE_VERSION=6.x-2.0-beta
11
OLD_DRUPAL_DIR=$AEGIR_
HOME
/hostmaster-0.4-
beta2
DRUSH_DIR=$AEGIR_
HOME
/drush
DRUSH="php $DRUSH_DIR/drush.php"
BACKUP_DIR=$AEGIR_
DIR
/pre-upgrade-`date '+%F-%H%M'`
BACKUP_DIR=$AEGIR_
HOME
/pre-upgrade-`date '+%F-%H%M'`
########################################################################
# functions
...
...
@@ -73,10 +73,10 @@ cat <<EOF
* that the following settings are correct
The Aegir version to upgrade to is $AEGIR_VERSION
The Aegir home dir is $AEGIR_
DIR
The Aegir home dir is $AEGIR_
HOME
The new hostmaster platform will be $DRUPAL_DIR
The version of Drush
is
$DRUSH_VERSION
The version of Drush Make
is
$DRUSH_MAKE_VERSION
The version of Drush
will be
$DRUSH_VERSION
The version of Drush Make
will be
$DRUSH_MAKE_VERSION
Your Aegir domain is $AEGIR_DOMAIN
Your old hostmaster platform was $OLD_DRUPAL_DIR
The Drush command is "$DRUSH"
...
...
@@ -98,7 +98,7 @@ if [ -d $DRUSH_DIR ]; then
mv $DRUSH_DIR $BACKUP_DIR
fi
cd $AEGIR_
DIR
cd $AEGIR_
HOME
wget http://ftp.drupal.org/files/projects/drush-$DRUSH_VERSION.tar.gz
gunzip -c drush-$DRUSH_VERSION.tar.gz | tar -xf -
rm drush-$DRUSH_VERSION.tar.gz
...
...
Prev
1
2
Next