mirror of
https://github.com/opnsense/core.git
synced 2026-06-09 00:42:36 -04:00
firmware: repeat the update after pkg reinstall
It appears that the package manager lost a number of tricks over the years so now we add more manual labor to do what we expect of it.
This commit is contained in:
parent
369630dbd3
commit
c0d5331e1f
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2015-2025 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (C) 2015-2026 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (C) 2014 Deciso B.V.
|
||||
# All rights reserved.
|
||||
#
|
||||
|
|
@ -117,6 +117,7 @@ if [ -z "${PKG_LOCAL}" ] || [ -z "${PKG_REMOTE}" ] || \
|
|||
[ "${PKG_LOCAL}" != "${PKG_REMOTE}" ]; then
|
||||
output_txt "Upgrading package manager from version '${PKG_LOCAL}' to '${PKG_REMOTE}'"
|
||||
output_cmd ${PKG} upgrade -r "${product_repo}" -y pkg
|
||||
output_cmd -o ${OUTFILE} ${PKG} update -f
|
||||
fi
|
||||
|
||||
# parse early errors
|
||||
|
|
|
|||
Loading…
Reference in a new issue