Merge pull request #573 from Prelang/command-instead-of-which

This commit is contained in:
Jose Diaz-Gonzalez
2014-11-15 16:40:42 -05:00

View File

@@ -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