Skip to content

Commit

Permalink
update: fix the mirror read (no more pkg+ prefix)
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Oct 20, 2023
1 parent 89f58b2 commit d530c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update/opnsense-update.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ mirror_abi()
# The first part after ABI is our suffix and
# we need all of it to find the correct sets.

MIRROR=$(sed -n 's/'"${URL_KEY}"'\"pkg\+\(.*\/${ABI}\/\)\([^\/]*\)\/.*/\1'"${DIR}"'/p' ${ORIGIN})
MIRROR=$(sed -n 's/'"${URL_KEY}"'\"\(.*\/${ABI}\/\)\([^\/]*\)\/.*/\1'"${DIR}"'/p' ${ORIGIN})
if [ -z "${MIRROR}" ]; then
echo "Mirror read failed." >&2
exit 1
Expand Down

0 comments on commit d530c45

Please sign in to comment.