Commit 01c964bf authored by Joshua Tauberer's avatar Joshua Tauberer

update bootstrap.sh for next tag

parent 6c59294e
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
######################################################### #########################################################
# This script is intended to be run like this: # This script is intended to be run like this:
# #
# wget https://.../bootstrap.sh | sudo bash # curl https://.../bootstrap.sh | sudo bash
# #
######################################################### #########################################################
if [ -z "$TAG" ]; then if [ -z "$TAG" ]; then
TAG=14.08-beta TAG=v0.02
fi fi
# Are we running as root? # Are we running as root?
...@@ -21,11 +21,12 @@ cd ...@@ -21,11 +21,12 @@ cd
# Clone the Mail-in-a-Box repository if it doesn't exist. # Clone the Mail-in-a-Box repository if it doesn't exist.
if [ ! -d mailinabox ]; then if [ ! -d mailinabox ]; then
echo Downloading Mail-in-a-Box . . . echo Installing git . . .
apt-get -q -q install -y git apt-get -q -q install -y git
git clone -q https://github.com/mail-in-a-box/mailinabox
echo Downloading Mail-in-a-Box . . .
git clone -b $TAG --depth 1 https://github.com/mail-in-a-box/mailinabox 2> /dev/null
cd mailinabox cd mailinabox
git checkout -q $TAG
# If it does exist, update it. # If it does exist, update it.
else else
...@@ -40,3 +41,4 @@ fi ...@@ -40,3 +41,4 @@ fi
# Start setup script. # Start setup script.
setup/start.sh setup/start.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment