1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-22 21:51:22 +01:00

chmod run script

This commit is contained in:
Kyle Spearrin 2017-08-19 21:47:15 -04:00
parent 9057815041
commit c7735f4e28

View File

@ -49,6 +49,7 @@ fi
function downloadRunFiles() { function downloadRunFiles() {
curl -s -o $SCRIPTS_DIR/run.sh $GITHUB_BASE_URL/scripts/run.ps1 curl -s -o $SCRIPTS_DIR/run.sh $GITHUB_BASE_URL/scripts/run.ps1
chmod u+x $SCRIPTS_DIR/run.sh
curl -s -o $DOCKER_DIR/docker-compose.yml $GITHUB_BASE_URL/docker/docker-compose.yml curl -s -o $DOCKER_DIR/docker-compose.yml $GITHUB_BASE_URL/docker/docker-compose.yml
curl -s -o $DOCKER_DIR/docker-compose.$OS.yml $GITHUB_BASE_URL/docker/docker-compose.$OS.yml curl -s -o $DOCKER_DIR/docker-compose.$OS.yml $GITHUB_BASE_URL/docker/docker-compose.$OS.yml
curl -s -o $DOCKER_DIR/global.env $GITHUB_BASE_URL/docker/global.env curl -s -o $DOCKER_DIR/global.env $GITHUB_BASE_URL/docker/global.env
@ -67,7 +68,6 @@ then
mkdir $DOCKER_DIR mkdir $DOCKER_DIR
downloadRunFiles downloadRunFiles
fi fi
chmod u+x $SCRIPTS_DIR/run.sh
$SCRIPTS_DIR/run.sh $DOCKER_DIR $OS $SCRIPTS_DIR/run.sh $DOCKER_DIR $OS
elif [ $1 == 'update' ] elif [ $1 == 'update' ]
then then