Skip to content

Commit 7510804

Browse files
authored
Merge pull request #334 from petegallagher/petegallagher-patch-1
Fix download URL and update version to latest recommended
2 parents 3451a0b + a26014c commit 7510804

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/apu_fw_updater_opnsense.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
TYPE="apu2"
1818

1919
# Version of firmware
20-
VERSION="4.15.0.3"
20+
VERSION="4.19.0.1"
2121

2222
# Do not edit after this line
23-
SRC="https://3mdeb.com/open-source-firmware/pcengines/${TYPE}/"
23+
SRC="https://dl.3mdeb.com/open-source-firmware/pcengines/${TYPE}/"
2424
PREFIX="${TYPE}_v${VERSION}"
2525
FILE="${PREFIX}.rom"
2626
CHECKSUM="${PREFIX}.SHA256"
@@ -61,10 +61,10 @@ download () {
6161
log "Downloading files ..."
6262

6363
log_sub "- ${FILE}"
64-
curl -sS "${SRC}${FILE}" -o "${FILE}"
64+
curl -sSL "${SRC}${FILE}" -o "${FILE}"
6565

6666
log_sub "- ${CHECKSUM}"
67-
curl -sS "${SRC}${CHECKSUM}" -o "${CHECKSUM}"
67+
curl -sSL "${SRC}${CHECKSUM}" -o "${CHECKSUM}"
6868

6969
verify
7070

0 commit comments

Comments
 (0)