Fix virtualbox presence check
This commit is contained in:
@@ -29,10 +29,10 @@ check_vagrant() {
|
|||||||
|
|
||||||
# Returns 0 if not installed or 1 if installed
|
# Returns 0 if not installed or 1 if installed
|
||||||
check_virtualbox_installed() {
|
check_virtualbox_installed() {
|
||||||
if ! which VBoxManage >/dev/null; then
|
if which VBoxManage >/dev/null; then
|
||||||
echo "0"
|
|
||||||
else
|
|
||||||
echo "1"
|
echo "1"
|
||||||
|
else
|
||||||
|
echo "0"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user