Skip to content

Commit

Permalink
Fix FORCE_REDOWNLOAD at start-deployCustom (#2546)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepa authored Dec 15, 2023
1 parent 6363949 commit 43accdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start-deployCustom
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if isURL "${CUSTOM_SERVER}"; then
filename=$(basename "${CUSTOM_SERVER}")
export SERVER=/data/${filename}

if [[ -f ${SERVER} ]] || [ -n "$FORCE_REDOWNLOAD" ]; then
if [[ -f ${SERVER} ]] && ! isTrue "$FORCE_REDOWNLOAD"; then
log "Using previously downloaded jar at ${SERVER}"
else
log "Downloading custom server jar from ${CUSTOM_SERVER} ..."
Expand Down

0 comments on commit 43accdf

Please sign in to comment.