diff --git a/bootstrap.sh b/bootstrap.sh index 09087b613..49517359a 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,7 +1,15 @@ +#!/usr/bin/env sh + set -e export DEBIAN_FRONTEND=noninteractive export DOKKU_REPO=${DOKKU_REPO:-"https://github.com/progrium/dokku.git"} +if ! which apt-get &>/dev/null +then + echo "This installation script requres apt-get. For manual installation instructions, consult https://github.com/progrium/dokku ." + exit 1 +fi + apt-get update apt-get install -y git make curl software-properties-common