aboutsummaryrefslogtreecommitdiff
path: root/contrib/dev
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dev')
-rw-r--r--contrib/dev/vagrant/bootstrap.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/dev/vagrant/bootstrap.sh b/contrib/dev/vagrant/bootstrap.sh
index ec89440b8..b9ac831bc 100644
--- a/contrib/dev/vagrant/bootstrap.sh
+++ b/contrib/dev/vagrant/bootstrap.sh
@@ -24,13 +24,13 @@ REGISTRY=${REGISTRY_URL}:${REGISTRY_PORT}
ADMIN_PROTOCOL="http"
function _ensure_lsb_release {
- if [[ -x $(type lsb_release 2>/dev/null) ]]; then
+ if type lsb_release >/dev/null 2>&1; then
return
fi
- if [[ -x $(type apt-get 2>/dev/null) ]]; then
+ if type apt-get >/dev/null 2>&1; then
apt-get -y install lsb-release
- elif [[ -x $(type yum 2>/dev/null) ]]; then
+ elif type yum >/dev/null 2>&1; then
yum -y install redhat-lsb-core
fi
}