Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One liner to download/install #11

Closed
heddn opened this issue Mar 20, 2019 · 1 comment
Closed

One liner to download/install #11

heddn opened this issue Mar 20, 2019 · 1 comment

Comments

@heddn
Copy link

heddn commented Mar 20, 2019

Here's a one liner:

  curl -sO $(curl -s https://api.github.com/repos/mglaman/drupal-check/releases/latest | grep "browser_download_url.*phar" | cut -d : -f 2,3 | tr -d \") \
  && chmod 755 drupal-check.phar \
  && sudo mv drupal-check.phar /usr/local/bin/drupal-check
heddn added a commit to heddn/drupal-check that referenced this issue Mar 23, 2019
This should fix mglaman#11
This was referenced Mar 23, 2019
@joestewart
Copy link

The latest phar download is available at this url too - https://github.com/mglaman/drupal-check/releases/latest/download/drupal-check.phar

It does redirect to the versioned url so the curl command would need adjustment.

@mglaman mglaman closed this as completed Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants