diff --git a/testingtoolchain/machinectl.sh b/testingtoolchain/machinectl.sh index b60799f..5af0345 100755 --- a/testingtoolchain/machinectl.sh +++ b/testingtoolchain/machinectl.sh @@ -23,6 +23,7 @@ else fi +drupal_path=/var/www/d8/ conf="$(dirname $0)/../config.sh" [[ -f "$conf" ]] && . "$conf" @@ -75,6 +76,8 @@ EOF inm $intermediate /usr/sbin/a2enmod rewrite inm $intermediate /usr/sbin/a2enmod php5 inm $intermediate /bin/mkdir -p /mig + inm $intermediate /bin/sed -i "s+DocumentRoot.*$+DocumentRoot ${drupal_path}+" /etc/apache2/sites-enabled/000-default.conf + progress "Installation of Drush" inm $intermediate /usr/bin/composer global require drush/drush:8.0.3 if ! inm $intermediate /usr/bin/test -x /root/.composer/vendor/bin/drush; then