Skip to content

Commit 4a0f430

Browse files
committed
update: remove "pin" feature so CORE_PACKAGESITE is always usable
PR: https://forum.opnsense.org/index.php?topic=35828.msg253362#msg253362
1 parent 277f94a commit 4a0f430

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/update/opnsense-update.sh.in

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,6 @@ mirror_abi()
132132

133133
ABI=$(opnsense-verify -a)
134134

135-
if [ "${OPT}" = "pin" ]; then
136-
# main archtecture to guarantee aux set fetch success
137-
ABI="${ABI%:*}:amd64"
138-
fi
139-
140135
if [ -n "${DO_ABI}" ]; then
141136
ABIPARTS=${DO_ABI#"-a "}
142137

@@ -532,7 +527,7 @@ elif [ "${DO_MIRROR}" = "-X" ]; then
532527
exit 1
533528
fi
534529
fi
535-
URL=$(mirror_abi pin)
530+
URL=$(mirror_abi)
536531
echo ${URL%/*}/$(opnsense-version -x)
537532
exit 0
538533
elif [ -n "${DO_ORIGIN}" ]; then

0 commit comments

Comments
 (0)