mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 09:32:32 +08:00
rm overeride file if present
This commit is contained in:
parent
b7e900f4bc
commit
c2eb66243b
1 changed files with 2 additions and 0 deletions
|
@ -570,6 +570,8 @@ install_netmaker() {
|
|||
wget -qO "$SCRIPT_DIR"/docker-compose.yml $COMPOSE_URL
|
||||
if [ "$UPGRADE_FLAG" = "yes" ]; then
|
||||
wget -qO "$SCRIPT_DIR"/docker-compose.override.yml $COMPOSE_OVERRIDE_URL
|
||||
elif [ test -f "$SCRIPT_DIR"/docker-compose.override.yml ]; then
|
||||
rm -f "$SCRIPT_DIR"/docker-compose.override.yml
|
||||
fi
|
||||
wget -qO "$SCRIPT_DIR"/Caddyfile "$CADDY_URL"
|
||||
wget -qO "$SCRIPT_DIR"/netmaker.default.env "$BASE_URL/scripts/netmaker.default.env"
|
||||
|
|
Loading…
Reference in a new issue