Open seetee opened 7 years ago
This should work. But I have not tested it. Post here to remember to test it. :-)
# install Drupal Console
if [ ! -f /usr/local/bin/drupal ]; then
echo "--> Installing Drupal Console..."
# Make sure we are somewhere non-critical
cd
# Download program
curl https://drupalconsole.com/installer -L -o drupal.phar
# Put it in the right place
mv drupal.phar /usr/local/bin/drupal
# Make sure it is executable
chmod +x /usr/local/bin/drupal
fi
Seems like my fix was bad. Issue #11 is connected with issue #17.
We should forget both Drush and Drupal Console as separate installs, and instead install drupal via composer and at that phase declare both Drush and Drupal Console as dependencies for the project. Makes it easier to update as well.
https://drupalconsole.com/