Skip to content

Commit

Permalink
drush dl is deprecated for Drush 9
Browse files Browse the repository at this point in the history
Forces drush 8 installation and therefore fixing the Drush 9 depecrated
error.
  • Loading branch information
Rajnish Kumar committed Jun 29, 2018
1 parent 011d8ca commit 7a06328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_drupal8.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

docker-compose exec --user=1000:1000 web composer global require drush/drush
docker-compose exec --user=1000:1000 web composer global require drush/drush:8.x-dev
docker-compose exec web ln -s /home/www-bridge-user/.composer/vendor/bin/drush /usr/bin/drush
docker-compose exec --user=1000:1000 web sh -c 'drush dl -y --destination=/var/www/html --drupal-project-rename=drupal8 drupal && cd /var/www/html/drupal8 && drush si --db-url=mysql://root:123@db/drupal8 -y'

0 comments on commit 7a06328

Please sign in to comment.