1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 08:32:50 -05:00

allow bwdata to exist for loading ca-certs

This commit is contained in:
Kyle Spearrin
2018-07-26 15:29:46 -04:00
parent 6e92364475
commit 91765477c5
2 changed files with 4 additions and 4 deletions

View File

@ -66,7 +66,7 @@ function checkOutputDirExists() {
}
function checkOutputDirNotExists() {
if [ -d "$OUTPUT" ]
if [ -d "$OUTPUT/docker" ]
then
echo "Looks like Bitwarden is already installed at $OUTPUT."
exit 1
@ -78,7 +78,7 @@ function checkOutputDirNotExists() {
if [ "$1" == "install" ]
then
checkOutputDirNotExists
mkdir $OUTPUT
mkdir -p $OUTPUT
downloadRunFile
$SCRIPTS_DIR/run.sh install $OUTPUT $COREVERSION $WEBVERSION
elif [ "$1" == "start" -o "$1" == "restart" ]