Created
May 9, 2013 20:28
-
-
Save jakeasmith/5550330 to your computer and use it in GitHub Desktop.
A quick little script for verifying Git, VirtualBox and Vagrant are installed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
command -v git >/dev/null 2>&1 && echo "Git is installed" || { echo >&2 "I require git but it's not installed. Please download it from http://git-scm.com/"; exit 1; } | |
command -v VBoxManage >/dev/null 2>&1 && echo "VirtualBox is installed" || { echo >&2 "I require VBoxManage but it's not installed. Please download it from https://www.virtualbox.org/"; exit 1; } | |
command -v vagrant >/dev/null 2>&1 && echo "Vagrant is installed" || { echo >&2 "I require vagrant but it's not installed. Please download it from http://www.vagrantup.com/"; exit 1; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment