Merge pull request #220 from jaseg/patch-2

bootstrap.sh: Add shebang, Error out when apt-get is not found
This commit is contained in:
Alexander
2013-10-09 12:20:23 -07:00

View File

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