remove isUrl check (#1488)

This commit is contained in:
Dario Crosa 2022-04-24 22:51:12 +02:00 committed by GitHub
parent 7e843ea100
commit d9a55ae938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,10 +43,8 @@ if [[ "${PACKWIZ_URL}" ]]; then
log "ERROR: Packwiz not available or could not be downloaded from Github!"
exit 1
fi
if isURL "${PACKWIZ_URL}"; then
log "Running packwiz against URL: ${PACKWIZ_URL}"
java -jar packwiz-installer-bootstrap.jar -g -s server "${PACKWIZ_URL}"
fi
log "Running packwiz against URL: ${PACKWIZ_URL}"
java -jar packwiz-installer-bootstrap.jar -g -s server "${PACKWIZ_URL}"
fi
# If supplied with a URL for a modpack (simple zip of jars), download it and unpack