Skip to content

Commit 43accdf

Browse files
authored
Fix FORCE_REDOWNLOAD at start-deployCustom (#2546)
1 parent 6363949 commit 43accdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/start-deployCustom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if isURL "${CUSTOM_SERVER}"; then
1212
filename=$(basename "${CUSTOM_SERVER}")
1313
export SERVER=/data/${filename}
1414

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

0 commit comments

Comments
 (0)