mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
firmware: ask only once via expansion
We only want to know if there is anything at all and "" + "" is still "".
This commit is contained in:
parent
d79950def9
commit
4d16653fc5
@ -268,7 +268,7 @@ if [ "$pkg_running" == "" ]; then
|
||||
fi
|
||||
|
||||
# the main update from package will provide this during upgrade
|
||||
if [ -n "${pkg_upgraded}" -o -n "${pkg_selected}" ]; then
|
||||
if [ -n "${pkg_upgraded}${pkg_selected}" ]; then
|
||||
base_to_reboot=
|
||||
elif [ -z "$base_to_reboot" ]; then
|
||||
if opnsense-update -cbf; then
|
||||
@ -296,7 +296,7 @@ if [ "$pkg_running" == "" ]; then
|
||||
fi
|
||||
|
||||
# the main update from package will provide this during upgrade
|
||||
if [ -n "${pkg_upgraded}" -o -n "${pkg_selected}" ]; then
|
||||
if [ -n "${pkg_upgraded}${pkg_selected}" ]; then
|
||||
kernel_to_reboot=
|
||||
elif [ -z "$kernel_to_reboot" ]; then
|
||||
if opnsense-update -cfk; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user