Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Check to see if wget is installed. #1

Merged
merged 1 commit into from about 1 year ago

1 participant

Mark
Mark
Owner

No description provided.

Mark MarkBennett merged commit f2dec2d into from April 10, 2013
Mark MarkBennett closed this April 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 08, 2013
Mark Check to see if wget is installed. f2dec2d
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  bin/plow
6  bin/plow
@@ -53,7 +53,11 @@ while test $# != 0; do
53 53
 done
54 54
 
55 55
 recipe() {
56  
-  wget -nc -qP .plow $1
  56
+  if command -v wget > /dev/null; then 
  57
+    wget -nc -q -P .plow $1
  58
+  else
  59
+    bail "wget not installed: brew install wget"
  60
+  fi 
57 61
 }
58 62
 
59 63
 bail() {
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.