mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
firmware: moving ahead with opnsense-update change for 21.1.2
This commit is contained in:
parent
aa167350b2
commit
dc883ebbba
@ -32,11 +32,6 @@ PIPEFILE="/tmp/pkg_upgrade.pipe"
|
||||
RELEASE=$(opnsense-update -vR)
|
||||
TEE="/usr/bin/tee -a"
|
||||
|
||||
# XXX opnsense-update behaves better in the future
|
||||
if [ "${RELEASE}" = "unknown" ]; then
|
||||
RELEASE=
|
||||
fi
|
||||
|
||||
if [ "${1}" = "upgrade" ]; then
|
||||
: # ok, unconditional major upgrade
|
||||
elif [ "${1}" = "ALLOW_RISKY_MAJOR_UPGRADE" -a -n "${RELEASE}" ]; then
|
||||
|
||||
@ -31,11 +31,6 @@ RELEASE=$(opnsense-update -vR)
|
||||
PROMPT="[y/N]"
|
||||
ARGS=
|
||||
|
||||
# XXX opnsense-update behaves better in the future
|
||||
if [ "${RELEASE}" = "unknown" ]; then
|
||||
RELEASE=
|
||||
fi
|
||||
|
||||
echo -n "Fetching change log information, please wait... "
|
||||
if /usr/local/opnsense/scripts/firmware/changelog.sh fetch; then
|
||||
echo "done"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user