disable faulty drush site-install; make it so that /var/www/html is a link to /var...
[eostre.git] / files / install-drupal-toolchain.sh
index d9d0045..c8850ae 100644 (file)
@@ -5,12 +5,16 @@ curl -sS https://getcomposer.org/installer | php
 mv composer.phar /usr/local/bin/composer
 
 # use composer to install drush7 and the drush launcher
-cd /var/www/html
+cd /var/www
 composer require drush/drush:8.*
 wget -O drush.phar https://github.com/drush-ops/drush-launcher/releases/latest/download/drush.phar
 chmod +x drush.phar
 mv drush.phar /usr/local/bin/drush
 
 # use vendor/bin/drush to download drupal
-cd /var/www/html
+cd /var/www
 vendor/bin/drush dl drupal-7
+
+# make drupal our webroot
+mv html html-stock
+ln -s drupal-7* html