diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2012-12-05 10:42:48 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2012-12-05 10:42:48 +0000 |
commit | 8b3eacda6249db97e8cbe0d1930eae14acc44270 (patch) | |
tree | e4557930c61fe100b587b2811f0c06f85fed0fe5 | |
parent | d14f46b629d5f83c41987132d9160a5abbf39446 (diff) | |
download | genivi-initial-setup-8b3eacda6249db97e8cbe0d1930eae14acc44270.tar.gz |
Make the create-vm script use curl if it successfully installs it
-rwxr-xr-x | create-vm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -38,9 +38,11 @@ if ! which wget >/dev/null; then if which yum >/dev/null; then echo "Attempting to install curl using yum" sudo yum install curl + USE_CURL=true elif which apt-get >/dev/null; then echo "Attempting to install curl using apt-get" sudo apt-get install curl + USE_CURL=true else echo "I do not know how to install curl on this system. Please install curl or wget manually" exit 1 |