Use command instead of which for apt-get existential check in bootstrap.sh
This commit is contained in:
committed by
Jose Diaz-Gonzalez
parent
179305eea1
commit
592c95eaeb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user