From 66f53c97f04f30ed125306a4c38ab9b0007f04df Mon Sep 17 00:00:00 2001 From: Erik Nomitch Date: Mon, 12 May 2014 13:29:42 -0700 Subject: [PATCH] Use command instead of which for apt-get existential check in bootstrap.sh --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 0acc430a779..eb17fbbd12b 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -3,7 +3,7 @@ set -eo pipefail export DEBIAN_FRONTEND=noninteractive export DOKKU_REPO=${DOKKU_REPO:-"https://github.com/progrium/dokku.git"} -if ! which apt-get &>/dev/null +if ! command -v apt-get &>/dev/null then echo "This installation script requires apt-get. For manual installation instructions, consult https://github.com/progrium/dokku ." exit 1