Fabric deployment no longer uses curl

#1031
This commit is contained in:
Geoff Bourne
2021-10-09 15:22:42 -05:00
parent bcdab80f41
commit 2e37c16b2c
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#!/bin/bash
set -eu
# shellcheck source=start-utils
. ${SCRIPTS:-/}start-utils
requireVar VANILLA_VERSION
@@ -32,7 +33,7 @@ if [[ ! -e ${SERVER} ]]; then
if [[ ! -e $FABRIC_INSTALLER ]]; then
log "Downloading $FABRIC_INSTALLER_URL ..."
if ! curl -o $FABRIC_INSTALLER -fsSL $FABRIC_INSTALLER_URL; then
if ! get -o "$FABRIC_INSTALLER" "$FABRIC_INSTALLER_URL"; then
log "Failed to download from given location $FABRIC_INSTALLER_URL"
exit 2
fi