1
0
mirror of https://github.com/bitwarden/server.git synced 2025-03-09 12:59:09 +01:00

accept output param

This commit is contained in:
Kyle Spearrin 2017-08-19 16:17:32 -04:00
parent df67bb796b
commit 8bbaa40307

View File

@ -1,28 +1,14 @@
#!/usr/bin/env bash
set -e
YEAR=$(date +'%Y')
cat << "EOF"
_ _ _ _
| |__ (_) |___ ____ _ _ __ __| | ___ _ __
| '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \
| |_) | | |_ \ V V / (_| | | | (_| | __/ | | |
|_.__/|_|\__| \_/\_/ \__,_|_| \__,_|\___|_| |_|
EOF
cat << EOF
Open source password management solutions
Copyright 2015-$YEAR, 8bit Solutions LLC
https://bitwarden.com, https://github.com/bitwarden
EOF
docker --version
echo ""
OUTPUT_DIR=~/bitwarden
if [ $# -eq 1 ]
then
OUTPUT_DIR=$1
fi
mkdir -p $OUTPUT_DIR
read -p "(!) Enter the domain name for your bitwarden instance (ex. bitwarden.company.com): " DOMAIN