From 592c95eaeb928a6a775858ccc61b2533bc4d829b 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 9b02aaff9..0f2297729 100755 --- 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