Commit 0c4527eb authored by helmo's avatar helmo

Issue #2619158: Create debconf var for Drush version, as preparation for Drush 8

parent cc080cf3
......@@ -55,8 +55,11 @@ case "$1" in
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
db_get "aegir/drush_version"
DRUSH_VERSION="$RET"
# Install Drush.
su -c "composer global require drush/drush:6.*" aegir
su -c "composer global require drush/drush:$DRUSH_VERSION" aegir
# Add composer's bin dir to the $PATH.
echo "export PATH=\"\$HOME/.composer/vendor/bin:\$PATH\"" >> ~aegir/.bashrc
......
Template:aegir/drush_version
Type: string
Default: 6.*
Description: Drush version to use.
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