Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix audit() in install.sh #693

Merged
merged 2 commits into from

2 participants

@parkr
  • Fixed issue where comments for failed dependencies would leave stragglers
  • Added brew install phantomjs suggestion for macs
@parkr

@sindresorhus This is just a simple cleanup fix! Should be just fine to merge :)

@sindresorhus sindresorhus merged commit 31c872c into yeoman:master
@sindresorhus
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 3 deletions.
  1. +4 −3 setup/install.sh
View
7 setup/install.sh
@@ -184,14 +184,15 @@ audit() {
desc_print "is not installed: http://compass-style.org/install/ "
[ "$phantomjs" -eq 0 ] && \
sad_print "PhantomJS" "" && \
- desc_print "Follow instructions at http://phantomjs.org/download.html - the binary installs are quick!"
+ desc_print "Follow instructions at http://phantomjs.org/download.html - the binary installs are quick! " && \
+ desc_print "On Mac," "brew install phantomjs" "should do the trick."
[ "$jpegturbo" -eq 0 ] && \
sad_print "jpegtran" "" && \
- desc_print "On Mac," "brew install jpeg-turbo && brew link jpeg-turbo" "should do the trick."
+ desc_print "On Mac," "brew install jpeg-turbo && brew link jpeg-turbo" "should do the trick. " && \
desc_print "On Ubuntu," "sudo apt-get install libjpeg-turbo-progs" "should do the trick."
[ "$optipng" -eq 0 ] && \
sad_print "optipng" "" && \
- desc_print "On Mac," "brew install optipng" "will sort you out."
+ desc_print "On Mac," "brew install optipng" "will sort you out. " && \
desc_print "On Ubuntu," "sudo apt-get install optipng" "should do the trick."
[ "$yeoman" -eq 0 ] && \
sad_print "yeoman" "" && \
Something went wrong with that request. Please try again.